CVE-2026-0846
Last modified
CVE-2026-0846 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nltk | Nltk | 3.9.2 |
References
- https://huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97ebExploit, Vendor Advisory
- https://huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97ebExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-0846?
How severe is CVE-2026-0846?
How do I fix CVE-2026-0846?
Are you affected by CVE-2026-0846?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
