CVE-2026-39377Jupyter Nbconvert
Medium 6.5 No auth needed
Follow: this CVE · Jupyter · Jupyter Nbconvert We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 21, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. Versions 6.5 through 7.17.0 allow arbitrary file writes to locations outside the intended output directory when processing notebooks containing crafted cell attachment filenames. The `ExtractAttachmentsPreprocessor` passes attachment filenames directly to the filesystem without sanitization, enabling path traversal attacks. This vulnerability provides complete control over both the destination path and file extension. Version 7.17.1 contains a patch.
What to do
- Apply the vendor's security update for Nbconvert.
- 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 | nbconvert |
≥ 6.5.0 < 7.17.1 |
7.17.1 |
pip install "nbconvert>=7.17.1" |
| PyPI | nbconvert |
≥ 6.5.0 < 7.17.1 |
7.17.1 |
pip install "nbconvert>=7.17.1" |
Per OSV / GitHub Advisories (GHSA-4c99-qj7h-p3vg, PYSEC-2026-2229). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jupyter | nbconvert | ≥ 6.5.0 < 7.17.1 |
Official advisories
- jupyter-nbconvert-7.17.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10603-1 · Apr 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Mitigation Vendor Advisory