Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-0846: CWE-36 Absolute Path Traversal in nltk nltk/nltk

0
High
VulnerabilityCVE-2026-0846cvecve-2026-0846cwe-36
Published: 03/09/2026 (03/09/2026, 19:19:09 UTC)
Source: CVE Database V5
Vendor/Project: nltk
Product: nltk/nltk

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.

CVSS v3.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Affected software

nltk
pkg:pypi/nltk
Affected versions
=3.9.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:24:00 UTC

Technical Analysis

The vulnerability CVE-2026-0846 in nltk version 3.9.2 arises from the filestring() function in the nltk.util module not sanitizing user-supplied file paths. This allows attackers to specify absolute or directory traversal paths, leading to arbitrary file read access. The CVSS 3.0 score is 8.6, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and impacts confidentiality, integrity, and availability. The vulnerability is documented by Red Hat advisories, but no explicit patch or fix version is stated in the provided data.

Potential Impact

Successful exploitation allows an attacker to read arbitrary files on the system where nltk 3.9.2 is used, potentially exposing sensitive information. The vulnerability affects confidentiality (high impact), integrity (low impact), and availability (low impact). It can be exploited remotely if the vulnerable function is exposed via web APIs or other interfaces accepting user input.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisories linked do not explicitly mention a fixed version or patch for nltk 3.9.2. Until an official fix is available, avoid exposing the filestring() function to untrusted input or implement input validation and sanitization to prevent absolute path or directory traversal inputs.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-01-10T23:22:13.648Z
Cvss Version
3.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-0846","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19712","vendor":"Red Hat"}]

Threat ID: 69af20b9ea502d3aa8b98ce9

Added to database: 03/09/2026, 19:34:17 UTC

Last enriched: 07/15/2026, 08:24:00 UTC

Last updated: 07/28/2026, 08:52:00 UTC

Views: 228

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses