CVE-2026-71514
Last modified
CVE-2026-71514 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
NLTK 3.9.4 through 3.10.2 contains a path traversal vulnerability in CrubadanCorpusReader. _load_lang_ngrams joins the corpus root with crubadan_code, the column-0 value read from the corpus table.txt mapping file, and opens the result with the builtin open() rather than the pathsec-validated opener, so os.path.join discards the root when that value is absolute and the read escapes the corpus directory without the containment check nltk.pathsec applies when ENFORCE is set. An attacker who controls a corpus package can disclose file contents outside the corpus root through lang_freq, limited to paths ending in -3grams.txt whose contents parse as token count lines.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nltk | Nltk | >= 3.9.4, <= 3.10.2 |
References
- https://github.com/nltk/nltkProduct
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-71514?
How severe is CVE-2026-71514?
How do I fix CVE-2026-71514?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-71508Dolibarr before 24.0.0 contains an improper authorization vu…6.5
- CVE-2026-71509Dolibarr before 24.0.0 contains an improper authorization vu…6.5
- CVE-2026-7151A vulnerability was determined in Tenda HG3 2.0. Impacted is…8.8
- CVE-2026-71510Dolibarr before 24.0.0 contains a SQL injection vulnerabilit…6.5
- CVE-2026-71511Dolibarr before 24.0.0 contains a sensitive data exposure vu…6.5
- CVE-2026-71513NLTK before 3.10.3 contains a remote code execution vulnerab…8.8
- CVE-2026-71518Typemill before 2.26.0 contains an authorization bypass vuln…7.5
- CVE-2026-7152A vulnerability was identified in Totolink A8000RU 7.1cu.643…9.8
- CVE-2026-7153A security flaw has been discovered in Totolink A8000RU 7.1c…9.8
- CVE-2026-71537Paymenter is a free and open-source webshop solution for man…6.5
- CVE-2026-71538@cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of …8.5
- CVE-2026-71539n8n is an open source workflow automation platform. Prior to…8.9
Are you affected by CVE-2026-71514?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
