{"id":"CVE-2026-35397","published":"2026-05-05T19:37:33Z","modified":"2026-08-28T12:04:28Z","title":"jupyter-server path traversal allows access to sibling directories sharing root_dir name prefix","vendor":"jupyter-server","product":"jupyter_server","tier":"tail","description":{"text":"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. \n\nVersion 2.18.0 contains a fix. As a workaround, ensure folder names do not share a common prefix with any sibling directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00622,"percentile":0.50735,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/jupyter-server/jupyter_server/security/advisories/GHSA-5789-5fc7-67v3","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-35397","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2466858","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-35397.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:43038","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:60520","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.15},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"jupyter-server","affectedVersions":[{"vendor":"jupyter-server","product":"jupyter_server","versions":["< 2.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-06T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"jupyter-server","vulnerableRanges":["<2.18.0"],"patched":["2.18.0"],"from":["GHSA-5789-5fc7-67v3","PYSEC-2026-68"],"provenance":"source"}],"summary":{"text":"The jupyter_server component of the Jupyter Server backend for Jupyter web applications contains a path traversal flaw in its REST API, where crafted, encoded path components sent to the /api/contents endpoint can escape the configured root_dir into sibling directories whose names share its prefix. An attacker needs only network access and low-privilege authenticated access, with no user interaction or special configuration, to read, write, and delete files in those sibling directories, a risk that is greatest in multi-tenant deployments that use predictable directory names.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:45Z"},"euvd":{"id":"EUVD-2026-27470","exploited":false,"provenance":"source"}}