Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nbconvert
  4. ›
  5. CVE-2026-114140

CVE-2026-114140: nbconvert: Arbitrary file write through path traversal in cell output filenames when exporting to md, latex, rst and asciidoc

October 22, 2026

nbconvert <= v7.17.1 has an arbitrary file write vulnerability due to a path traversal in ipynb cell output metadata, more specifically on the filename attribute.

Vulnerable converters : --to markdown, --to latex, --to rst, --to asciidoc.

In ExtractOutputPreprocessor, extractoutput.py:116-119 joins attacker-controlled path to output_files_dir with no canonicalization check, enabling arbitrary file write.

This is a sibling vulnerability of https://github.com/advisories/GHSA-4c99-qj7h-p3vg.

References

  • github.com/advisories/GHSA-pjvx-prjx-h659
  • 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
  • nvd.nist.gov/vuln/detail/CVE-2026-114140

Code Behaviors & Features

Detect and mitigate CVE-2026-114140 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.4.0 before 7.17.2

Fixed versions

  • 7.17.2

Solution

Upgrade to version 7.17.2 or above.

Impact 9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/nbconvert/CVE-2026-114140.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.