# CVE-2026-35397: jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix

- Severity: High 7.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-05T16:49:10.000Z
- Modified: 2026-09-10T03:51:04.602Z
- Also known as: GHSA-5789-5fc7-67v3, PYSEC-2026-68
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Jupyter Server is the backend for Jupyter web applications. In versions 2.17.0 and earlier, a path traversal vulnerability in the REST API allows an authenticated user to escape the configured root_dir and access sibling directories whose names begin with the same prefix as the root_dir. For example, with a root_dir named "test", the API permits access to a sibling directory named "testtest" through a crafted request to the /api/contents endpoint using encoded path components. An attacker can read, write, and delete files in affected sibling directories. Multi-tenant deployments using predictable naming schemes are particularly at risk, as a user with a directory named "user1" could access directories for user10 through user19 and beyond. A user who can choose a single-character folder name could gain access to a significant number of sibling directories. 

Version 2.18.0 contains a fix. As a workaround, ensure folder names do not share a common prefix with any sibling directory.

(As written by CVE List.)

## Affected

- jupyter-server jupyter_server: < 2.18.0
- mta/mta-solution-server-rhel9: no versions given (not affected: from 1784109883 before *)
- rhoai/odh-th06-cpu-torch210-py312-rhel9: no versions given (not affected: from 1787076778 before *)
- rhoai/odh-th06-cuda130-torch210-py312-rhel9: no versions given (not affected: from 1787077779 before *)
- rhoai/odh-th06-rocm64-torch291-py312-rhel9: no versions given (not affected: from 1787076481 before *)
- rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9: no versions given (not affected: from 1787074331 before *)
- rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9: no versions given (not affected: from 1787073913 before *)
- rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9: no versions given (not affected: from 1787074078 before *)
- rhoai/odh-workbench-jupyter-minimal-rocm-py312-rhel9: no versions given (not affected: from 1787073929 before *)
- rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9: no versions given (not affected: from 1787073605 before *)
- rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9: no versions given (not affected: from 1787073546 before *)
- rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9: no versions given (not affected: from 1787073717 before *)
- rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9: no versions given (not affected: from 1787073713 before *)
- rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9: no versions given (not affected: from 1787073593 before *)
- rhoai/odh-th06-cpu-torch291-py312-rhel9: no versions given
- rhoai/odh-th06-cuda130-torch291-py312-rhel9: no versions given
- rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9: no versions given
- jupyter-server (PyPI): before 2.18.0
- jupyter jupyter_server: before 2.18.0

## Every score

- GitHub_M: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- redhat-SADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3> (exploit, evidence, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-35397> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2466858> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35397.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:43038> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:60520> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35397> (advisory)
- <https://github.com/jupyter-server/jupyter_server> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-68.yaml> (web)

## Sources

- CVE List: [CVE-2026-35397](https://www.cve.org/CVERecord?id=CVE-2026-35397), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-5789-5fc7-67v3](https://github.com/advisories/GHSA-5789-5fc7-67v3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-35397](https://nvd.nist.gov/vuln/detail/CVE-2026-35397), Public domain, modified 2026-08-28
- PyPA Advisory Database: [PYSEC-2026-68](https://osv.dev/vulnerability/PYSEC-2026-68), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-35397 · Whole record: https://cve.day/CVE-2026-35397.json · Rebuilt by cve.day 2026-11-25T22:59:20.639Z
