From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the res…
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 0.46%
- Published
- Oct 21, 2026
- In the news
- Not yet
What to do
A serious path traversal flaw in Jupyter Nbconvert that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Jupyter Nbconvert
- >= 5.4.0, < 7.17.2
Description
The nbconvert tool, jupyter nbconvert, converts Jupyter notebooks to various other formats via Jinja templates. From 5.4.0 until 7.17.2, ExtractOutputPreprocessor in nbconvert/preprocessors/extractoutput.py joins the attacker-controlled cell output metadata filename to output_files_dir without limiting the result to the intended directory. When a victim converts a malicious notebook with the markdown, LaTeX, reStructuredText, or AsciiDoc exporter, path traversal in the output filename can write attacker-controlled output data to arbitrary locations accessible to the victim. Running the notebook cell again replaces the malicious output metadata, but merely converting the supplied notebook does not. This issue is fixed in version 7.17.2.
Affected products
Get alerts for these →Timeline 6
Latest change: Tenable Cloud Security plugin 476828: SCA: security update for nbconvert (GHSA-pjvx-prjx-h659) (Nov 10, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 11, 2026
- DetectionTenable Cloud Security plugin 476828: SCA: security update for nbconvert (GHSA-pjvx-prjx-h659)Tenable
- DetectionTenable Container Security plugin 476828: SCA: security update for nbconvert (GHSA-pjvx-prjx-h659)Tenable
- DetectionTenable Cloud Security plugin 477161: Chainguard: tensorflow-cpu-jupyter: security update to 2.21.0-r14Tenable
- DetectionTenable Container Security plugin 477161: Chainguard: tensorflow-cpu-jupyter: security update to 2.21.0-r14Tenable
Mon, Oct 26, 2026
Wed, Oct 21, 2026
- CVECVE-2026-114140 published (CVSS 8.8)CVE Program · 21:17 UTC
References 4
- github.com /jupyter/nbconvert/commit/ce4bd99aec31d81d759fa8eeb8643179392ec66f
- github.com /jupyter/nbconvert/releases/tag/v7.17.2
- github.com /jupyter/nbconvert/security/advisories/GHSA-pjvx-prjx-h659
- github.com /jupyter/nbconvert/security/advisories/GHSA-pjvx-prjx-h659