CVE Catalog

CVE-2026-86258

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

30th percentile - higher than 30% of all known CVEs

Summary

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.

Risk Assessment

File disclosure can lead to leakage of sensitive data such as research notebooks or credentials, compromising information confidentiality.

Recommendation

Upgrade nbviewer to the latest version and implement proper path validation, e.g., using normalization functions and checking that the path is within the allowed directory.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS