
CVE catalog
CVE-2026-39377
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 intende
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nbconvert | sid | 7.17.1-2 | fixed |
| Debian | nbconvert | forky | 7.17.1-2 | fixed |
| Debian | nbconvert | trixie | 7.16.6-1+deb13u1 | fixed |
| Debian | nbconvert | bookworm | 6.5.3-3 | not affected |
| Cpe | nbconvert | Not reported | 7.17.1 | fixed |
| PyPI | nbconvert | Not reported | 7.17.1 | fixed |
| PyPI | nbconvert | Not reported | 7.17.1 | fixed |
| Cpe | nbconvert | Not reported | 7.17.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nbconvert | source | sid | 7.17.1-1 | not yet assigned | Not reported | [1134889] |
| Debian | nbconvert | source | forky | 7.17.1-1 | not yet assigned | Not reported | [1134889] |
| Debian | nbconvert | source | trixie | 7.16.6-1+deb13u1 | not yet assigned | Not reported | [1134889] |
| Debian | nbconvert | source | bookworm | Not affected | unimportant | Not reported | [1134889] |
| Cpe | nbconvert | cpe | Not reported | 7.17.1 | Not reported | Not reported | Not reported |
| PyPI | nbconvert | PyPI | Not reported | 7.17.1 | Not reported | GHSA-4C99-QJ7H-P3VG | Not reported |
| PyPI | nbconvert | PyPI | Not reported | 7.17.1 | Not reported | PYSEC-2026-2229 | Not reported |
| Cpe | nbconvert | cpe | Not reported | 7.17.1 | Not reported | NVD-CVE-2026-39377 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jupyter-nbconvert]Not affected
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
- [python3-nbconvert]Not affected
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
- [python-nbconvert-doc]Not affected
Source package: [nbconvert]
Details (2)
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
6.5.3-3· all · bookwormNot affected
nvd · nbconvert · debian · bookworm
[Debian 13 (Trixie)]
- [jupyter-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
- [python3-nbconvert]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
- [python-nbconvert-doc]Fixed
Source package: [nbconvert]
Details (2)
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
7.16.6-1+deb13u1· all · trixieFixed · Fixed:
7.16.6-1+deb13u1nvd · nbconvert · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10603-1.json]
- [https://github.com/jupyter/nbconvert/releases/tag/v7.17.1]
- [https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39377]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39377]
- [https://osv.dev/vulnerability/GHSA-4c99-qj7h-p3vg]
- [https://security-tracker.debian.org/tracker/CVE-2026-39377]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39377.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]