CVE-2026-0846
A vulnerability in the `filestring()` function of the `nltk.util` module in nltk version 3.9.2 allows arbitrary file read due to improper validation of input paths. The function directly opens files specified by user input without sanitization, enabling attackers to access sensitive system files by providing absolute paths or traversal paths. This vulnerability can be exploited locally or remotely, particularly in scenarios where the function is used in web APIs or other interfaces that accept user-supplied input.
Published:Mar 9, 2026
Last Modified:Apr 17, 2026
EPS:Mar 9, 2026
EPSS Score:0.00111
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Nltk
Product
Nltk
Nltk
Nltk
Vendor
Nltk
Product
Nltk/nltk
Nltk
Nltk/nltk
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
