5.9Media
CVE-2026-86258nbviewer through 1.0.1 Path Traversal via LocalFileHandler
Descripción
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.
Debilidad (CWE):
CWE-22
Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.
Productos y versiones afectados
Referencias y parches
- GitHub Issue #1115 issue-tracking
- LocalFileHandler.can_show() at 1.0.1 technical-description
- Fix path-containment bypass in LocalFileHandler.can_show (PR #1116) patch
- https://github.com/jupyter/nbviewer product
- VulnCheck Advisory: nbviewer through 1.0.1 Path Traversal via LocalFileHandler third-party-advisory