nbviewer through 1.0.1 contains a path traversal vulnerability in LocalFileHandler.can_show() that uses string-prefix comparison instead of proper path validation. Attackers can read files from sibling directories outside the configured root by requesting paths that share the root as a textual prefix, disclosing unintended notebooks and credentials.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-09-06 13:17
Updated : 2026-09-10 16:18
NVD link : CVE-2026-86258
Mitre link : CVE-2026-86258
CVE.ORG link : CVE-2026-86258
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
