UBUNTU-CVE-2026-114140

Source
https://ubuntu.com/security/CVE-2026-114140
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-114140
Upstream
Published
2026-10-21T21:17:00Z
Modified
2026-10-28T20:17:45Z
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
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:18.04:LTS
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

4.*
4.2.0-4
5.*
5.3.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "5.3.1-1"
        },
        {
            "binary_name":  "python-nbconvert",
            "binary_version":  "5.3.1-1"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "5.3.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"
Ubuntu:20.04:LTS
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.4-2ubuntu2
5.6.0-1
5.6.0-2
5.6.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "5.6.1-1"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "5.6.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"
Ubuntu:22.04:LTS
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.6.1-3
6.*
6.1.0-1
6.3.0-1
6.4.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "6.4.0-1"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "6.4.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"
Ubuntu:24.04:LTS
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.5.3-4
6.5.3-5

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "6.5.3-5"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "6.5.3-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"
Ubuntu:26.04:LTS
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.16.6-1
7.17.0-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "7.17.0-1"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "7.17.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"
Ubuntu:26.10
nbconvert

Package

Name
nbconvert
Purl
pkg:deb/ubuntu/nbconvert?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.17.0-1
7.17.1-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "jupyter-nbconvert",
            "binary_version":  "7.17.1-2"
        },
        {
            "binary_name":  "python3-nbconvert",
            "binary_version":  "7.17.1-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114140.json"