{"schemaVersion":3,"id":"CVE-2026-5422","aliases":["GHSA-gf7q-q4j7-hp7c","PYSEC-2026-2532","UBUNTU-CVE-2026-5422","DEBIAN-CVE-2026-5422","openSUSE-SU-2026:10972-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-06-02T09:11:15.755Z","modified":"2026-06-02T12:14:02.747Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":4.1,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00549,"percentile":0.4488,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.11200000000000003,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00437},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00549,"percentile":0.4488}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00437,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00549,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00549,"percentile":0.4488}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_4CBDEF113FBE4FBA","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"}],"affected":[{"vendor":"debian","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/jupyter-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jupyter-server","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"jupyter","product":"jupyter_server","name":"jupyter server","label":"jupyter_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.17.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.17.0","eol":null,"hubHref":"/vendor/jupyter/jupyter_server"},{"vendor":"jupyter","product":"jupyter/jupyter","name":"jupyter/jupyter","label":"jupyter/jupyter","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/jupyter/jupyterjupyter"},{"vendor":"PyPI","product":"jupyter-server","name":"jupyter-server","label":"jupyter-server","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyter-server","purlType":"pypi","versions":[{"text":"< 2.18.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.18.2","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-jupyter-server&distro=openSUSE Tumbleweed","name":"python-jupyter-server","label":"python-jupyter-server&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-jupyter-server&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.19.0-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.19.0-1.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f","label":"huntr.com/bounties/24a36953-6490-466f-8cb2-a90d1ca56e0f","hostname":"huntr.com","tags":["WEB","REPORT","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5422","label":"nvd.nist.gov/vuln/detail/CVE-2026-5422","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-gf7q-q4j7-hp7c","label":"github.com/advisories/GHSA-gf7q-q4j7-hp7c","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/jupyter-server/jupyter_server","label":"github.com/jupyter-server/jupyter_server","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-2532.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyter-server/PYSEC-2026-2532.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/jupyter-server","label":"pypi.org/project/jupyter-server","hostname":"pypi.org","tags":["WEB","PACKAGE"]},{"url":"http://github.com/jupyter-server/jupyter_server/commit/0d829f2c35a481c3b24ecbe1e25a6f79954e88f2","label":"github.com/jupyter-server/jupyter_server/commit/0d829f2c35a481c3b24ecbe1e25a6f79954e88f2","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-5422","label":"ubuntu.com/security/CVE-2026-5422","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-5422","label":"www.cve.org/CVERecord?id=CVE-2026-5422","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-5422","label":"security-tracker.debian.org/tracker/CVE-2026-5422","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-5422","label":"www.suse.com/security/cve/CVE-2026-5422","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-02T09:11:15.755Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-02T12:14:02.747Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:52:21.635Z","stale":false,"partial":false}}