Ad

CVE-2026-0846

HIGH CVSS 3.1: 7.5 EPSS 0.09%
Updated Apr 17, 2026
Nltk
Parameter Value
CVSS 7.5 (HIGH)
Type CWE-36
Vendor Nltk
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nltk Nltk
cpe:2.3:a:nltk:nltk:3.9.2:*:*:*:*:*:*:*