Bug 2445826 (CVE-2026-0846) - CVE-2026-0846 nltk: NLTK: Arbitrary file read via improper path validation in `filestring()` function
Summary: CVE-2026-0846 nltk: NLTK: Arbitrary file read via improper path validation in...
Keywords:
Status: NEW
Alias: CVE-2026-0846
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-09 20:01 UTC by OSIDB Bzimport
Modified: 2026-03-09 21:03 UTC (History)
27 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-09 20:01:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.