Armis Logo< Back

CVE-2026-0846:

Arbitrary file read vulnerability in nltk 3.9.2 due to improper input validation in the filestring() function.


Score
Info
A numerical rating that indicates how dangerous this vulnerability is.

7.5High
  • Published Date:Mar 9, 2026
  • CISA KEV Date:*No Data*
  • Industries Affected:20

Threat Predictions

  • EPSS Score:0.1
  • EPSS Percentile:20%

Exploitability

  • Score:3.9
  • Attack Vector:NETWORK
  • Attack Complexity:LOW
  • Privileges Required:NONE
  • User Interaction:NONE
  • Scope:UNCHANGED

Impact

  • Score:3.6
  • Confidentiality Impact:HIGH
  • Integrity Impact:NONE
  • Availability Impact:NONE

Description Preview

Arbitrary file read vulnerability in nltk 3.9.2 due to improper input validation in the filestring() function.

Overview

The vulnerability (CVE-2026-0846) in nltk 3.9.2 is a critical security flaw that allows unauthorized access to sensitive system files. The filestring() function in the nltk.util module fails to properly validate user-supplied input paths, leading to arbitrary file read capabilities. This vulnerability has a CVSS v3.0 base score of 8.6 (High severity), with a vector string of CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L. The attack vector is network-based, requires low attack complexity, and needs no privileges or user interaction. The primary weakness associated with this vulnerability is CWE-36, which relates to absolute path traversal.

Remediation

  • To address this vulnerability, developers should implement proper input validation and sanitization in the filestring() function. This includes:
  • 1. Restricting file access to specific directories
  • 2. Implementing a whitelist of allowed file types and locations
  • 3. Sanitizing user input to prevent path traversal attempts
  • 4. Using secure file handling libraries that inherently prevent unauthorized access
  • Users of nltk 3.9.2 should update to a patched version as soon as it becomes available. In the meantime, it is crucial to limit the use of the filestring() function, especially in contexts where it may process untrusted input.

References

Industries Affected

Below is a list of industries most commonly impacted or potentially at risk based on intelligence.

Low
Mining icon
Mining
Utilities icon
Utilities
Information icon
Information
Construction icon
Construction
Retail Trade icon
Retail Trade
Manufacturing icon
Manufacturing
Wholesale Trade icon
Wholesale Trade
Educational Services icon
Educational Services
Finance and Insurance icon
Finance and Insurance
Public Administration icon
Public Administration
Real Estate Rental and Leasing icon
Real Estate Rental and Leasing
Transportation and Warehousing icon
Transportation and Warehousing
Accommodation and Food Services icon
Accommodation and Food Services
Health Care and Social Assistance icon
Health Care and Social Assistance
Arts, Entertainment, and Recreation icon
Arts, Entertainment, and Recreation
Management of Companies and Enterprises icon
Management of Companies and Enterprises
Agriculture, Forestry, Fishing and Hunting icon
Agriculture, Forestry, Fishing and Hunting
Other Services (except Public Administration) icon
Other Services (except Public Administration)
Professional, Scientific, and Technical Services icon
Professional, Scientific, and Technical Services
Administrative and Support and Waste Management and Remediation Services icon
Administrative and Support and Waste Management and Remediation Services

Focus on What Matters

See everything.Identify true risk.Proactively mitigate threats.Book a Demo

Let's talk!