Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-86258 EUVD-2026-72125GHSA-v7gx-3h93-r9v6

nbviewer through 1.0.1 Path Traversal via LocalFileHandler

Published Sep 6, 2026 · Updated Sep 24, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
jupyter nbviewer ≤ 1.0.1 —

References