Staging Environment: Content and features may be unstable or change without notice.
Advisory details: github_osv / GHSA-h8wq-7xc4-p3qx
Advisory ID github_osv/GHSA-h8wq-7xc4-p3qx
Aliases CVE-2026-0846
Summary NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring() 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.
Status Published
Exploitability 0.5
Weighted Severity 7.7
Risk 3.9
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (1)
No exploits are available.

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L Found at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-h8wq-7xc4-p3qx/GHSA-h8wq-7xc4-p3qx.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-12T14:48:03Z/

Decision: Track

Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2026/0xxx/CVE-2026-0846.json

Source Advisory: vulnrichment/CVE-2026-0846

View SSVC decision tree
[{'Exploitation': 'poc'},
 {'Automatable': 'yes'},
 {'Technical Impact': 'partial'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]