CVEfocus › CVE database › CVE-2026-5422

CVE-2026-5422Path Traversal in jupyter/jupyter

CVSS 6.8 MediumEPSS 0.5% (higher than 40% of CVEs)Published 2026-06-02Updated 2026-06-02Assigner: @huntr_ai

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.

CWE-23

What to do

Fixed builds are available from PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
4Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jupyter-serverFix pendingUBUNTU-CVE-2026-5422
Ubuntu 26.04jupyter-serverUnder investigationUBUNTU-CVE-2026-5422
Ubuntu 25.10jupyter-serverWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-5422
Ubuntu 24.04jupyter-serverUnder investigationUBUNTU-CVE-2026-5422
Ubuntu 22.04jupyter-serverUnder investigationUBUNTU-CVE-2026-5422
Debian 14jupyter-serverFix pendingDEBIAN-CVE-2026-5422
Debian 13jupyter-serverFix pendingDEBIAN-CVE-2026-5422
Debian 12jupyter-serverFix pendingDEBIAN-CVE-2026-5422
PyPI libraryjupyter-serverFixed2.18.2PYSEC-2026-2532

What the vendor says

As published in the CVE record by @huntr_ai, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.