cve.bz

CVE-2026-5422 jupyter jupyter server: Relative Path Traversal

8.1 highExploit referenceEPSS 4.9%Fix available

High (8.1) in jupyter jupyter server. EPSS 4.9% estimated probability of exploitation activity in the next 30 days. Fixed in jupyter-server 2.18.2.

On this page
A path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory boundary check in the _get_os_path() function within jupyter_server/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 root_dir to bypass the check. Additionally, the to_os_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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
4.9% (unchanged from 4.9% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-06-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-23 Relative Path Traversal
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-5422 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5422?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5422?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5422 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jupyter/jupyterthrough latest

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
PYSEC-2026-2532PyPIjupyter-server<2.18.22.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14jupyter-serverno fix listedDEBIAN-CVE-2026-5422
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 morejupyter-serverno fix listedUBUNTU-CVE-2026-5422
openSUSETumbleweedpython-jupyter-server2.19.0-1.1openSUSE-SU-2026:10972-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate vulnerability in jupyter-server allows a remote, low-privileged attacker to bypass directory restrictions. An incorrect root directory boundary check and improper handling of traversal sequences enable unauthorized read and write access to files in sibling directories. This poses a risk of sensitive data exposure, particularly in Red Hat OpenShift AI deployments utilizing shared hosting environments.

ProductPackageStateAdvisory
Red Hat Migration Toolkit for Applications 8.2mta/mta-solution-server-rhel9:1784109883Fixed 2026-07-21RHSA-2026:43038
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1790331087Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1790260954Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1790072130Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1790072109Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9:1789651387Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9:1789651389Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9:1789651385Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1790077488Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1789983680Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.3rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9:1790260954Fixed 2026-09-30RHSA-2026:73987
Red Hat OpenShift AI 3.4rhoai/odh-th06-cpu-torch210-py312-rhel9:1787076778Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-th06-cuda130-torch210-py312-rhel9:1787077779Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-th06-rocm64-torch291-py312-rhel9:1787076481Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9:1787074331Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9:1787073913Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9:1787074078Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI 3.4rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9:1787073929Fixed 2026-08-27RHSA-2026:60520
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cpu-torch291-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-th06-cuda130-torch291-py312-rhel9Not affected
5 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5422.

Attack patterns (CAPEC)

  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-139 Relative Path Traversal Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON