CVE-2021-39160Jupyterhub Nbgitpuller
High 8.8 No auth needed
Follow: this CVE · Jupyterhub · Jupyterhub Nbgitpuller We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Aug 25, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
nbgitpuller is a Jupyter server extension to sync a git repository one-way to a local path. Due to unsanitized input, visiting maliciously crafted links could result in arbitrary code execution in the user environment. This has been resolved in version 0.10.2 and all users are advised to upgrade. No work around exist for users who can not upgrade.
What to do
- Apply the vendor's security update for Nbgitpuller.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | nbgitpuller |
≥ 0.9.0 < 0.10.2 |
0.10.2 |
pip install "nbgitpuller>=0.10.2" |
| PyPI | nbgitpuller |
≥ 0.9.0 < 0.10.2 |
0.10.2 |
pip install "nbgitpuller>=0.10.2" |
Per OSV / GitHub Advisories (GHSA-mq5p-2mcr-m52j, PYSEC-2021-315). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyterhub | nbgitpuller | ≥ 0.9.0 < 0.10.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory