VULNERABILITY INTELLIGENCE

CVE-2026-0846

CVSS score7.5 HIGH
EPSS probability0.55%
CISA KEVNot currently listed
Published2026-03-09
Last modified2026-07-15
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Weakness classification

  • security@huntr.dev: CWE-36
  • 0b0ca135-0b70-47e7-9f44-1890c2a1c46c: CWE-22

Primary references