6.5Mittel

CVE-2026-39377nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames

jupyter nbconvert Veröffentlicht: (vor 6 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22CWE-73

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
jupyter nbconvert >= 6.5, < 7.17.1

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:jupyter:nbconvert:*:*:*:*:*:python:*:* ≥ 6.5.0 < 7.17.1