UBUNTU-CVE-2026-5422

Source
https://ubuntu.com/security/CVE-2026-5422
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5422.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-5422
Upstream
  • CVE-2026-5422
Published
2026-06-02T10:16:00Z
Modified
2026-06-12T09:04:22.020160556Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory boundary check in the getospath() function within jupyterserver/services/contents/fileio.py. The check uses startswith(root) without appending a trailing path separator, allowing sibling directories with names starting with the same prefix as rootdir to bypass the check. Additionally, the toos_path() function in utils.py does not strip ".." from path parts, enabling traversal sequences to bypass the vulnerable check. This vulnerability can lead to unauthorized read/write access to files in sibling directories, potentially exposing sensitive data in shared hosting environments.

References

Affected packages

Ubuntu:22.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*
1.2.2-1
1.13.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "1.13.1-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "1.13.1-1"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*
1.23.3-1
1.23.3-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "1.23.3-2"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "1.23.3-2"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=questing

Affected ranges

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

Affected versions

2.*
2.14.2-5
2.15.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "2.15.0-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "2.15.0-1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / jupyter-server

Package

Name
jupyter-server
Purl
pkg:deb/ubuntu/jupyter-server?arch=source&distro=resolute

Affected ranges

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

Affected versions

2.*
2.15.0-1
2.17.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "jupyter-server",
            "binary_version": "2.17.0-1"
        },
        {
            "binary_name": "python3-jupyter-server",
            "binary_version": "2.17.0-1"
        }
    ]
}

Database specific

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