# CVE-2026-86258: nbviewer through 1.0.1 Path Traversal via LocalFileHandler

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-06 · Modified: 2026-09-24
- Record: https://cvemate.com/vulnerability/CVE-2026-86258 · JSON: https://cvemate.com/vulnerability/CVE-2026-86258/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.363%, percentile 32.121%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- jupyter nbviewer: ≤ 1.0.1

## References

- <https://github.com/jupyter/nbviewer/issues/1115>
- <https://github.com/jupyter/nbviewer/blob/1.0.1/nbviewer/providers/local/handlers.py#L92-L107>
- <https://github.com/jupyter/nbviewer/commit/aad36106f72a1ca7721310c6fccc677ce4c744a5>
- <https://github.com/jupyter/nbviewer>
- <https://www.vulncheck.com/advisories/nbviewer-through-1.0.1-path-traversal-via-localfilehandler>

---

Data as of 2026-12-05T09:21:45.648Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
