CVE-2026-86258
nbviewer through 1.0.1 Path Traversal via LocalFileHandler
CVSS 4.0 8.2 HIGHCVSS 3.1 5.9 MEDIUMCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-86258
Publishednbviewer 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-86258 · CVE overview and exploitation status
cve-program · CVE-2026-86258
- https://github.com/jupyter/nbviewer/issues/1115
- https://github.com/jupyter/nbviewer/blob/1.0.1/nbviewer/providers/local/handlers.py#L92-L107
- https://github.com/jupyter/nbviewer/commit/aad36106f72a1ca7721310c6fccc677ce4c744a5
- https://github.com/jupyter/nbviewer
- https://www.vulncheck.com/advisories/nbviewer-through-1.0.1-path-traversal-via-localfilehandler
Related changes
Linked by CVE identifierNo related changes are available here.