CVE-2026-5422
8.1 HIGHA path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory boundary check in the _get_os_p...
Published: 2026-06-02 · Last updated: 2026-06-03
Severity and scoring
- CVSS
- 8.1 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CWE
- CWE-23
Affected products
| Vendor | Product |
|---|---|
| jupyter | jupyter_server |
Description
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2026-5422
- [Exploit reference]https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f
- [Exploit reference]https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f
Related CVEs
Same vendor
- CVE-2026-40864 — JupyterHub is software that allows users to create a multi-user server for Jupyter notebooks (5.4 MEDIUM)
- CVE-2026-42557 — jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture (9.6 CRITICAL)
- CVE-2026-42266 — JupyterLab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture (8.8 HIGH)
Same CWE
- CVE-2026-48569 — Improper input validation in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally (7.1 HIGH)
- CVE-2026-47287 — Relative path traversal in Visual Studio Code allows an unauthorized attacker to perform tampering over a network (6.5 MEDIUM)
- CVE-2026-48681 — OpenStack Ironic through before 35.0.2 allows file overwrite via directory traversal during deployment with a crafted ISO image (5.9 MEDIUM)
- CVE-2026-10074 — DreamMaker developed by Interinfo has an Arbitrary File Read vulnerability, allowing privileged local attackers to exploit Relative Path ... (4.9 MEDIUM)
- CVE-2026-10073 — DreamMaker developed by Interinfo has an Arbitrary File Read vulnerability, allowing unauthenticated local attackers to exploit Relative ... (7.5 HIGH)