CVE-2026-5422Path Traversal in jupyter/jupyter
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jupyter-server | Fix pending | UBUNTU-CVE-2026-5422 | |
| Ubuntu 26.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-5422 | |
| Ubuntu 25.10 | jupyter-server | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-5422 | |
| Ubuntu 24.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-5422 | |
| Ubuntu 22.04 | jupyter-server | Under investigation | UBUNTU-CVE-2026-5422 | |
| Debian 14 | jupyter-server | Fix pending | DEBIAN-CVE-2026-5422 | |
| Debian 13 | jupyter-server | Fix pending | DEBIAN-CVE-2026-5422 | |
| Debian 12 | jupyter-server | Fix pending | DEBIAN-CVE-2026-5422 | |
| PyPI library | jupyter-server | Fixed | 2.18.2 | PYSEC-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.
- jupyter/jupyter: affected: unspecified to latest
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.