CVE-2026-0846: Acronym · NLTK has Arbitrary File Read via Absolute Path Input in nltk.util.filestring()
Affects acronymSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 2.0.0_2 soon.
Data as of 30 Oct 2026, 07:30 UTC
- Patch
- Available – fixed in 2.0.0_2
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 9 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade acronym to 2.0.0_2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewacronympkg:brew/acronymOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-0846 (opens in a new tab)
- github.com/nltk/nltk/pull/3485 (opens in a new tab)
- github.com/nltk/nltk/commit/b2e1164bf89277f79b65406c829b99fb20ca1974 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-97.yaml (opens in a new tab)
- huntr.com/bounties/007b84f8-418e-4300-99d0-bf504c2f97eb (opens in a new tab)