CVE-2026-79676
Medium · 5.9CVSS
5.9
EPSS
0.4%
Published
Aug 25, 2026
CISA due date
—
Cloudanix analysis
A text-processing library can be tricked into reading files outside its allowed folder when someone places special links inside the folder it trusts.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Library
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Path traversal in NLTK corpus readers that bypass trusted roots by using built-in open() on symlink-resolved paths derived from the root, enabling disclosure of arbitrary outside-root file contents via methods such as channels(), domains(), and synonyms().
Why it matters to the business
Attackers with the ability to place symlinked corpus files under a trusted data root can read sensitive files outside that root; low immediate urgency given modest EPSS and no KEV listing, yet the availability of public exploits 60 days after publication and increasing exploit probability warrant prompt attention for any NLTK-dependent data pipelines.
How an attack unfolds
An attacker first stages symlinked corpus files under a location treated as trusted by NLTK, then invokes ordinary corpus reader APIs; because the readers reopen paths with the unsafe open() call instead of the secure wrapper, symlink traversal succeeds and file contents outside the intended root are returned.
How to fix it
Upgrade NLTK to version 3.10.3 or later, which replaces the unsafe open() calls with nltk.pathsec.open(). Until the upgrade is complete, restrict write access to all corpus data directories and avoid loading untrusted or user-supplied corpus material.
How to confirm the fix worked
Confirm the installed NLTK version is 3.10.3 or newer; create a test corpus directory containing a symlink to a file outside the root and verify that reader methods no longer return its contents.
Typical attack path
- Place attacker-controlled symlinks pointing outside the intended corpus root inside a directory NLTK will treat as trusted data
- Trigger corpus reader methods (channels, domains, synonyms, etc.) against the staged corpus
- Receive file contents from paths that should have been inaccessible
How to detect it
Review application and system logs for NLTK corpus reader activity that accesses paths containing unexpected symlinks or that reads files far outside expected corpus directories; correlate with process execution of Python scripts using NLTK.
What your security team should do
- Upgrade all NLTK installations to 3.10.3 or later within the next sprint
- Audit and restrict write permissions on every directory used as an NLTK corpus root
- Add NLTK version checks to dependency scanners and CI pipelines
- Monitor EPSS trend and any new public exploit code for the next 30 days
The record
NLTK versions before 3.10.3 contain a path traversal vulnerability in corpus readers that reopen root-derived paths using built-in open() instead of nltk.pathsec.open(), allowing symlinks to escape trusted roots. Attackers who stage symlinked corpus files under a trusted data root can disclose outside-root content through normal corpus reader methods like channels(), domains(), and synonyms().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-108327 Tanium addressed a path traversal vulnerability in Tanium Data Service. CWE-22
- CVE-2026-121542 In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition may… CWE-22
- CVE-2026-63502 Yeti bridges the gap between CTI and DFIR practitioners by providing a Forensics… CWE-22
- CVE-2026-63478 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-22
- CVE-2026-63500 Yeti bridges the gap between CTI and DFIR practitioners by providing a Forensics… CWE-22
- CVE-2026-63395 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-22
- CVE-2026-63436 zt-zip is a Java library that provides convenience methods for ZIP archive manipulation. CWE-22
- CVE-2026-121263 A vulnerability was determined in phpMyAdmin MoTranslator up to 6.0.1. CWE-22