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.

INFO

Published Date :

2026-03-09T19:19:09.464Z

Last Modified :

2026-03-12T14:48:25.181Z

Source :

@huntr_ai
AFFECTED PRODUCTS

The following products are affected by CVE-2026-0846 vulnerability.

Vendors Products
Nltk
  • Nltk
  • Nltk/nltk
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2026-0846.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact