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.
History

Mon, 07 Sep 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Jupyter
Jupyter nbviewer
Vendors & Products Jupyter
Jupyter nbviewer

Sun, 06 Sep 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title nbviewer through 1.0.1 Path Traversal via LocalFileHandler
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.2, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-09-06T12:37:49.496Z

Updated: 2026-09-06T12:37:49.496Z

Reserved: 2026-09-06T11:35:19.317Z

Link: CVE-2026-86258

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-06T13:17:10.830

Modified: 2026-09-08T20:10:30.270

Link: CVE-2026-86258

cve-icon Redhat

No data.