Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-114140

HIGH 8.8EPSS 32%

nbconvert: File write via path traversal in cell output filenames

Also known as GHSA-pjvx-prjx-h659

Mitigation

  • Upgrade nbconvert to 7.17.2 or later.

Who should check

  • Projects that depend on PyPI package nbconvert (>= 5.4.0, < 7.17.2)
  • Anyone running jupyter nbconvert >= 5.4.0, < 7.17.2

Vulnerability facts

Affected
nbconvert >= 5.4.0, < 7.17.2
Fixed in
7.17.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: High
  • Integrity impact on other systems: High
  • Availability impact on other systems: High
EPSS
0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
CWE
CWE-22
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
PyPI nbconvert>= 5.4.0, < 7.17.27.17.2osv
jupyter nbconvert>= 5.4.0, < 7.17.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-114140. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-114140.md
Affected: nbconvert >= 5.4.0, < 7.17.2
Fixed in: 7.17.2

Steps:
1. Search this machine and project for nbconvert (PyPI), jupyter nbconvert: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-114140 being exploited?

There is no confirmed exploitation: CVE-2026-114140 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-114140?

High: CVSS 8.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-114140?

nbconvert >= 5.4.0, < 7.17.2.

Is there a fix for CVE-2026-114140?

Yes. Fixed in 7.17.2. Upgrade nbconvert to 7.17.2 or later.

How do I check if I'm affected by CVE-2026-114140?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors