nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
CVE-2026-39377 · GHSA-4c99-qj7h-p3vg · published 2026-04-21
- Severity
- Medium
- CVSS score
- 6.5
- Chance of exploitation (EPSS)
- 0.27%
- Fixed in
- 7.17.1
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
This vulnerability allows writing files with arbitrary content to arbitrary filesystem locations, limited only by the permissions of the process running nbconvert.
Upgrade nbconvert to 7.17.1 or later.
upgrade to nbconvert v7.17.1
disable ExtractAttachmentsPreprocessor by setting:
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| nbconvert | PyPI | >= 6.5.0, < 7.17.1 | 7.17.1 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- CriticalMCP Toolbox HTTP tool path parameters allow traversal to unintended endpointsgithub.com/googleapis/mcp-toolbox
- Highnbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidocnbconvert
- Highnbconvert has an uncontrolled search path that leads to unauthorized code execution on Windowsnbconvert
- Mediumjupyter/nbconvert allows Cross-site Scripting (XSS) via unsanitized `text/vnd.mermaid` output in HTML exportsnbconvert
- Mediumnbconvert has an Arbitrary File Read via Path Traversal in HTMLExporter Image Embeddingnbconvert
- Mediumnbconvert vulnerable to cross-site scripting (XSS) via multiple exploit pathsnbconvert
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.