CVE catalog

CVE-2026-114140

nbconvert affected and fixed versions

[CVE catalog]

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.

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "nbconvert",
      "status": "vulnerable",
      "release": "sid",
      "version": "7.17.1-2"
    },
    {
      "name": "nbconvert",
      "status": "vulnerable",
      "release": "forky",
      "version": "7.17.1-2"
    },
    {
      "name": "nbconvert",
      "status": "vulnerable",
      "release": "trixie",
      "version": "7.16.6-1+deb13u1"
    },
    {
      "name": "nbconvert",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "6.5.3-3"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "nbconvert",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "nbconvert",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "nbconvert",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "nbconvert",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "4.2.0-4",
        "5.3.1-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    },
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "5.4-2ubuntu2",
        "5.6.0-1",
        "5.6.0-2",
        "5.6.1-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    },
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "5.6.1-3",
        "6.1.0-1",
        "6.3.0-1",
        "6.4.0-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    },
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "6.5.3-4",
        "6.5.3-5"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    },
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "26.10",
      "versions": [
        "7.17.0-1",
        "7.17.1-2"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    },
    {
      "name": "nbconvert",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "7.16.6-1",
        "7.17.0-1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-114140"
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

  • Source package: [nbconvert]

    Details (2)
    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

    • 6.5.3-3 · all · bookworm

      Affected

      dsa · nbconvert · debian · bookworm; dsa · nbconvert · debian · 12

[Debian 13 (Trixie)]

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

  • Source package: [nbconvert]

    Details (2)
    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

    • 7.16.6-1+deb13u1 · all · trixie

      Affected

      dsa · nbconvert · debian · 13

Observed:

References