CVE-2026-5422: Path Traversal in jupyter/jupyter

Published Jun 2, 2026
·
Updated

A path traversal vulnerability exists in jupyter-server version 2.17.0 due to an incorrect root directory boundary check in the getospath() function within jupyterserver/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 rootdir to bypass the check. Additionally, the toospath() 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.

Affected Software

2 affected components
pypi/jupyter-server=2.17.0
jupyter Jupyter Server=2.17.0

Event History

Jun 2, 2026
CVE Published
via MITRE·09:11 AM
Data Sourced
via MITRE·09:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·05:06 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5422?

The severity of CVE-2026-5422 is classified as medium with a score of 6.8.

2

How do I fix CVE-2026-5422?

To fix CVE-2026-5422, upgrade jupyter-server to version 2.17.1 or later where the vulnerability is patched.

3

What software is affected by CVE-2026-5422?

CVE-2026-5422 affects jupyter-server version 2.17.0.

4

What is a path traversal vulnerability in CVE-2026-5422?

A path traversal vulnerability like CVE-2026-5422 allows an attacker to access directories and files outside the intended directory structure.

5

When was CVE-2026-5422 published?

CVE-2026-5422 was published on June 2, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203