Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-86258

nbviewer through 1.0.1 Path Traversal via LocalFileHandler

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

jupyter nbviewer

Default version status: unaffected

  • 0 to ≤ 1.0.1affected
pkg:pypi/nbviewer

References