CVE-2026-35397
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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-06 |
Timeline
- 2026-05-05Published by the CNA19:37 UTC
- 2026-05-05GitHub advisory published (GHSA-5789-5fc7-67v3)same day
- 2026-05-06CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-5789-5fc7-67v3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI jupyter-server | before 2.18.0 | 2.18.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jupyter jupyter_server | before 2.18.0fixed in 2.18.0 | 2.18.0 |
References
- https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3
- https://access.redhat.com/errata/RHSA-2026:43038
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-35397
- https://bugzilla.redhat.com/show_bug.cgi?id=2466858
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35397.json
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-35397'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-35397'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-35397'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-35397'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).