{"id":"CVE-2026-5422","published":"2026-06-02T09:11:15Z","modified":"2026-06-02T12:14:02Z","title":"Path Traversal in jupyter/jupyter","vendor":"jupyter","product":"jupyter/jupyter","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04858,"percentile":0.92239,"provenance":"source"},"cwes":[{"id":"CWE-23","name":"Relative Path Traversal"}],"references":[{"url":"https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":18.45},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"jupyter","affectedVersions":[{"vendor":"jupyter","product":"jupyter/jupyter","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-02T12:13:38.058844Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter-server","vulnerableRanges":["<2.18.2"],"patched":["2.18.2"],"from":["PYSEC-2026-2532"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the jupyter-server component (version 2.17.0) of the jupyter/jupyter product, where the root directory boundary check in _get_os_path() within jupyter_server/services/contents/fileio.py fails to account for sibling directories sharing the root's name prefix, and to_os_path() in utils.py does not strip \"..\" path components. An attacker with network access and low privileges, using crafted path sequences, can read and write files in sibling directories outside the intended root, with high confidentiality and integrity impact and a high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:46Z"},"euvd":{"id":"EUVD-2026-33905","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-35397","published":"2026-05-05","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-40110","published":"2026-05-05","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-40934","published":"2026-05-05","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-5422","published":"2026-06-02","fixed":"2.18.2","kev":false},{"cve":"CVE-2026-44727","published":"2026-06-22","fixed":"2.20.0","kev":false,"link":{"from":"CVE-2026-5422","to":"CVE-2026-44727","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:jupyter-server","fromFixed":"2.18.2","toFixed":"2.20.0","daysApart":20}]}}],"package":"PyPI:jupyter-server"}}