Impact
A path traversal flaw in jupyter-server 2.17.0 allows an attacker to read or write files in directories that are siblings of the configured root directory. The vulnerability originates from an incorrect boundary check in the _get_os_path() function, which uses startswith(root) without a trailing separator, and from to_os_path() that does not strip '..' segments. This flaw can lead to unauthorized access to files outside the intended workspace, potentially exposing sensitive information in shared hosting environments.
Affected Systems
The flaw is present in the Jupyter Server component of the Jupyter project, specifically version 2.17.0. Clients and servers running this edition—including shared hosting environments—are vulnerable. The affected product is listed by CNA as jupyter:jupyter/jupyter.
Risk and Exploitability
The CVSS score of 6.8 indicates moderate severity, and no EPSS value is available. The vulnerability is not listed in the CISA KEV catalog. A likely attack vector involves standard Jupyter Server HTTP requests that reference file paths; an attacker with network or local access could craft a request that forces the server to resolve a sibling directory path, thereby reading or modifying files outside the intended workspace.
OpenCVE Enrichment