NIXPKGS-2026-1218
GitHub issue
published on
Permalink
CVE-2026-39377
6.5 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): REQUIRED
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): HIGH
- Availability impact (A): NONE
by @LeSuisse Activity log
- Created automatic suggestion
- @LeSuisse ignored reference https://g…
- @LeSuisse accepted
- @LeSuisse published on GitHub
nbconvert has an Arbitrary File Write via Path Traversal in Cell Attachment Filenames
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.
References
-
https://github.com/jupyter/nbconvert/security/advisories/GHSA-4c99-qj7h-p3vg x_refsource_CONFIRM
Ignored references (1)
-
https://github.com/jupyter/nbconvert/releases/tag/v7.17.1 x_refsource_MISC
Affected products
nbconvert
- ==>= 6.5, < 7.17.1
Matching in nixpkgs
pkgs.python312Packages.nbconvert
Converting Jupyter Notebooks
pkgs.python313Packages.nbconvert
Converting Jupyter Notebooks
pkgs.python314Packages.nbconvert
Converting Jupyter Notebooks
Package maintainers
-
@natsukium Tomoya Otabi <nixpkgs@natsukium.com>
-
@thomasjm Tom McLaughlin <tom@codedown.io>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>