CVE-2026-86258
published high CVSS 4.0 · 8.2nbviewer through 1.0.1 Path Traversal via LocalFileHandler
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jupyter | — | nbviewer0 through 1.0.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jupyter | nbviewer | 0 through 1.0.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/jupyter/nbviewer
- LocalFileHandler.can_show() at 1.0.1 https://github.com/jupyter/nbviewer/blob/1.0.1/nbviewer/providers/local/handlers.py#L92-L107
- Fix path-containment bypass in LocalFileHandler.can_show (PR #1116) https://github.com/jupyter/nbviewer/commit/aad36106f72a1ca7721310c6fccc677ce4c744a5
- GitHub Issue #1115 https://github.com/jupyter/nbviewer/issues/1115
- VulnCheck Advisory: nbviewer through 1.0.1 Path Traversal via LocalFileHandler https://www.vulncheck.com/advisories/nbviewer-through-1.0.1-path-traversal-via-localfilehandler
Provider assertions
2VulnCheck · cna
nbviewer through 1.0.1 Path Traversal via LocalFileHandler
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f74416003fd897caad0640c429376bfc5ad8cbb100955e61e19430faf2b9844b
- Ingested
- 30 Sep 2026, 15:34:33 UTC
- Source record
- Official CVE record