CVE catalog

CVE-2026-5422

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.p

[CVE catalog]

Severity
High · CVSS 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
4.86% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjupyter-serversid2.20.0-3vulnerable
Debianjupyter-serverforky2.20.0-3vulnerable
Debianjupyter-servertrixie2.15.0-1vulnerable
Debianjupyter-serverbookworm1.23.3-1vulnerable
Cpejupyter-serverNot reportedNot reportedvulnerable
Cpejupyter_serverNot reportedNot reportedunknown
PyPIjupyter-serverNot reported2.18.2fixed
Opensusepython-jupyter-servertumbleweed2.19.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjupyter-serversourcesid(unfixed)not yet assignedNot reportedNot reported
Debianjupyter-serversourceforky(unfixed)not yet assignedNot reportedNot reported
Debianjupyter-serversourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianjupyter-serversourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPIjupyter-serverPyPINot reported2.18.2Not reportedPYSEC-2026-2532Not reported
Opensusepython-jupyter-serverrpmtumbleweed2.19.0-1.1Not reportedOPENSUSE-SU-2026:10972-1Not reported

Notes

[trixie] jupyter-server: Minor issue [bookworm] jupyter-server: Minor issue; _get_os_path startswith(root) sibling-prefix traversal present, revisit with next update

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [jupyter-server]Affected
    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

  • Source package: [jupyter-server]

    Details (2)
    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

    • 1.23.3-1 · all · bookworm

      Affected

      nvd · jupyter-server · debian · bookworm; nvd · jupyter-server · debian · 12

[Debian 13 (Trixie)]

  • [jupyter-server]Affected
    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

  • Source package: [jupyter-server]

    Details (2)
    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

    • 2.15.0-1 · all · trixie

      Affected

      nvd · jupyter-server · debian · 13

[openSUSE Tumbleweed]

Observed:

References