CVE-2026-0846 | Arbitrary File Read via Absolute Path Input in nltk.util.filestring()

Exp

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.

Published: 2026-03-09 Last update: 2026-04-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-0846 is rated Exploit Available (53/100): CVSS High severity, with low exploitation likelihood (EPSS 0.08%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2026-0846

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2026-0846

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-10 0.08%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-0846

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]
8.6 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 4.7 [email protected]

Weakness enumeration for CVE-2026-0846

GitHub Security Advisory for CVE-2026-0846

GHSA-h8wq-7xc4-p3qx · Severity: high · Ecosystem: pip — NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()

OS Trackers for CVE-2026-0846

vendor priority summary link
debian not yet assigned CVE-2026-0846 not yet assigned priority: Debian including 1 source packages (nltk), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-0846
redhat high https://access.redhat.com/security/cve/CVE-2026-0846
suse high https://www.suse.com/security/cve/CVE-2026-0846/
ubuntu medium CVE-2026-0846 medium priority: Ubuntu including 1 source packages (nltk), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): needed 7, released 1. https://ubuntu.com/security/CVE-2026-0846

Affected software / configurations for CVE-2026-0846

Vendor Product Version Raw CPE
nltk nltk 3.9.2 cpe:2.3:a:nltk:nltk:3.9.2:*:*:*:*:*:*:*

References for CVE-2026-0846

cvelogic Threat Intelligence