Authenticated file access via prefix-only path validation
Published Jun 2, 2026 · Updated Jun 2, 2026
Path traversal in Project Jupyter Jupyter Server 2.17.0 and earlier allows remote authenticated users to read and write sibling files. The _get_os_path() check compares an absolute path with root_dir using startswith(), while to_os_path() retains .. segments, so a sibling sharing the root prefix passes validation. Exploitation requires contents-API access and an overlapping sibling-directory name; reachable files can be read, modified, or deleted.
Summary
What happened
Path traversal in Project Jupyter Jupyter Server 2.17.0 and earlier allows remote authenticated users to read and write sibling files. The _get_os_path() check compares an absolute path with root_dir using startswith(), while to_os_path() retains .. segments, so a sibling sharing the root prefix passes validation. Exploitation requires contents-API access and an overlapping sibling-directory name; reachable files can be read, modified, or deleted.
The record
- CVE
- CVE-2026-5422
- Published
- Jun 2, 2026
- Updated
- Jun 2, 2026
- Vendor
- Project Jupyter
- Product
- Jupyter Server
- Classifications
- CWE-23, T1565.001, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 2, 2026CVE publishedPublication date reported by the CVE source.
- Jun 2, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <=latest
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-5789-5fc7-67v3 contents-API proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo