# CVE-2026-5422: Path Traversal in jupyter/jupyter

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-02 · Modified: 2026-06-02
- Aliases: GHSA-gf7q-q4j7-hp7c, PYSEC-2026-2532, UBUNTU-CVE-2026-5422, DEBIAN-CVE-2026-5422, openSUSE-SU-2026:10972-1
- Record: https://cvemate.com/vulnerability/CVE-2026-5422 · JSON: https://cvemate.com/vulnerability/CVE-2026-5422/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 4.858%, percentile 92.272%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian jupyter-server (Debian): All versions (No fix recorded)
- ubuntu jupyter-server (Ubuntu): All versions (No fix recorded)
- jupyter jupyter\_server: 2.17.0
- jupyter jupyter/jupyter: ≥ unspecified, ≤ latest
- PyPI jupyter-server (PyPI): \< 2.18.2
- opensuse python-jupyter-server&distro=openSUSE Tumbleweed (openSUSE): \< 2.19.0-1.1

## References

- <https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5422>
- <https://github.com/advisories/GHSA-gf7q-q4j7-hp7c>
- <https://github.com/jupyter-server/jupyter_server>
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-2532.yaml>
- <https://pypi.org/project/jupyter-server>
- <http://github.com/jupyter-server/jupyter_server/commit/0d829f2c35a481c3b24ecbe1e25a6f79954e88f2>
- <https://ubuntu.com/security/CVE-2026-5422>
- <https://www.cve.org/CVERecord?id=CVE-2026-5422>
- <https://security-tracker.debian.org/tracker/CVE-2026-5422>
- <https://www.suse.com/security/cve/CVE-2026-5422>

---

Data as of 2026-12-05T09:21:42.480Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
