CVE-2026-86258 PUBLISHED

nbviewer through 1.0.1 Path Traversal via LocalFileHandler

Assigner: VulnCheck
Reserved: 06.09.2026 Published: 06.09.2026 Updated: 06.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor jupyter
Product nbviewer
Versions Default: unaffected
  • affected from 0 to 1.0.1 (incl.)

Credits

  • Yu Sun reporter

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE