CVE-2026-39377
Last modified
CVE-2026-39377 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Nbconvert | >= 6.5.0, < 7.17.1 |
References
- https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vgMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-39377?
How severe is CVE-2026-39377?
How do I fix CVE-2026-39377?
Are you affected by CVE-2026-39377?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
