SecurityContext

CVE-2026-126304: NLTK - Path Traversal

  • Cve: CVE-2026-126304
  • Name: NLTK - Path Traversal
  • Description: NLTK from 3.10.0 before 3.10.4 contains a symlink escape vulnerability in YCOECorpusReader that allows attackers to read files outside the corpus root by planting psd or pos directory symlinks. Attackers controlling a YCOE corpus can make parsed_sents() and tagged_words() return file content from other corpora or temporary files within the NLTK data sandbox.
  • Impact: Attackers controlling a YCOE corpus can read arbitrary files within the NLTK data sandbox, potentially exposing sensitive information.
  • Remediation: Upgrade to NLTK 3.10.4 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirements: Attacker must control a YCOE corpus loaded by the victim
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00619
  • Epss percentile: 0.50406
  • Assignee: [email protected]
  • Published at: 2026-11-13T10:17:35Z
  • Age in days: 11
  • Modified at: 2026-11-18T16:18:07Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126304
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-59Improper Link Resolution Before File Access

References

UrlSourceTags
https://github.com/nltk/nltk/security/advisories/GHSA-qg35-44qx-7vrrnvd
https://www.vulncheck.com/advisories/nltk-3.10.0-before-3.10.4-symlink-escape-in-ycoecorpusreadernvd

Products

ProductAffectedPlatform boundSourcesUrl
nltk:nltk>= 3.10.0, < 3.10.4nocna/v1/products/nltk/nltk

Projects

RepositoryLink kindsIndexedUrl
nltk/nltkcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/nltk/nltk

Index

  • Repositories: 319
  • Repositories high signal: 163
  • Packages: 1

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