Path Traversal Vulnerability in nbviewer by Jupyter
CVE-2026-86258

8.2HIGH

Key Information:

Vendor

Jupyter

Status
Vendor
CVE Published:
6 September 2026

What is CVE-2026-86258?

The nbviewer application, up to and including version 1.0.1, is susceptible to a path traversal vulnerability in the LocalFileHandler.can_show() function. This vulnerability arises due to the use of string-prefix comparison rather than robust path validation. As a result, an attacker can exploit this flaw to gain unauthorized access to files located in sibling directories outside the designated root directory. By sending crafted path requests, malicious users can disclose sensitive information, such as notebooks and credential files that should remain protected.

Affected Version(s)

nbviewer 0 <= 1.0.1

References

CVSS V4

Score:
8.2
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Yu Sun
.