CVE-2026-114140

Source
https://cve.org/CVERecord?id=CVE-2026-114140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-114140
Aliases
Downstream
CGA (3)
DEBIAN (1)
Published
2026-10-21T20:19:50Z
Modified
2026-10-22T10:46:06Z
Severity
  • 8.8 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
nbconvert: File write via path traversal in cell output filenames
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114140.json"
}
References

Affected packages

Git / github.com/jupyter/nbconvert

Affected ranges

Type
GIT
Repo
https://github.com/jupyter/nbconvert
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.4.0"
                },
                {
                    "fixed":  "7.17.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "ce4bd99aec31d81d759fa8eeb8643179392ec66f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v7.17.2",
            "range":  [
                {
                    "fixed":  "e681152f214b65387f875aad96a4726994533a0b"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

4.*
4.0.0
4.1.0
4.2.0
5.*
5.0.0
5.1
5.1.0
5.1.1
5.2.1
5.3.0
5.3.1
5.4
5.4.1
5.5
5.5.0
5.6.0
5.6.1
6.*
6.0.0
6.0.0a0
6.0.0a1
6.0.0a2
6.0.0a3
6.0.0a4
6.0.0a5
6.0.0a6
6.0.0b7
6.0.0rc0
6.0.1
6.0.2
6.0.3
6.0.4
6.0.5
6.0.7
6.1.0
6.1.0rc0
6.1.1b0
6.2.0
6.2.0rc0
6.2.0rc1
6.2.0rc2
6.3.0
6.3.0b0
6.4.0
6.4.1
6.4.2
6.4.3
6.4.4
6.4.5
6.5
6.5.0
7.*
7.0.0
7.0.0rc0
7.0.0rc1
7.0.0rc2
7.0.0rc3
7.1.0
v7.*
v7.10.0
v7.11.0
v7.12.0
v7.13.0
v7.13.1
v7.14.0
v7.14.1
v7.14.2
v7.15.0
v7.16.0
v7.16.1
v7.16.2
v7.16.3
v7.16.4
v7.16.5
v7.16.6
v7.17.0
v7.17.1
v7.2.0
v7.2.1
v7.2.10
v7.2.2
v7.2.3
v7.2.4
v7.2.5
v7.2.6
v7.2.7
v7.2.8
v7.2.9
v7.3.0
v7.3.1
v7.4.0
v7.5.0
v7.6.0
v7.7.0
v7.7.1
v7.7.2
v7.7.3
v7.7.4
v7.8.0
v7.9.0
v7.9.1
v7.9.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114140.json"