CVEvulnerability
CVE-2026-0847
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-03-04
- Last modified
- 2026-07-15
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.0 ([email protected])
- 8.6 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Weaknesses
- CWE-22
Description
A vulnerability in NLTK versions up to and including 3.9.2 allows arbitrary file read via path traversal in multiple CorpusReader classes, including WordListCorpusReader, TaggedCorpusReader, and BracketParseCorpusReader. These classes fail to properly sanitize or validate file paths, enabling attackers to traverse directories and access sensitive files on the server. This issue is particularly critical in scenarios where user-controlled file inputs are processed, such as in machine learning APIs, chatbots, or NLP pipelines. Exploitation of this vulnerability can lead to unauthorized access to sensitive files, including system files, SSH private keys, and API tokens, and may potentially escalate to remote code execution when combined with other vulnerabilities.
Affected configurations
• nltk nltk (<= 3.9.2)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://huntr.com/bounties/fc69914f-36a9-4c18-8503-10013b39f966 Exploit, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:10184 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:19712 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-0847 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2444608 bugzilla.redhat.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0847.json security.access.redhat.com