SecurityContext

CVE-2026-86258: nbviewer - Path Traversal

  • Cve: CVE-2026-86258
  • Name: nbviewer - Path Traversal
  • 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.
  • Impact: Attackers can read arbitrary files outside the root directory, potentially disclosing sensitive notebooks and credentials.
  • Remediation: Update to the latest version of nbviewer.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00522
  • Epss percentile: 0.45186
  • Assignee: [email protected]
  • Published at: 2026-09-06T13:17:10Z
  • Age in days: 79
  • Modified at: 2026-09-10T16:18:02Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86258
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/jupyter/nbviewer
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/issues/1115
https://www.vulncheck.com/advisories/nbviewer-through-1.0.1-path-traversal-via-localfilehandler

Projects

RepositoryLink kindsIndexedUrl
jupyter/nbviewercommit, issuesyes/v1/repositories/jupyter/nbviewer

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts