NLTK: Symlink escape
Affects nltkSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 3.10.4 when convenient.
Data as of 16 Nov 2026, 15:22 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 4.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.3 |
- Patch
- Available – fixed in 3.10.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 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 15 Nov 2026.
What to do
Upgrade nltk to 3.10.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPInltk | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in NLTK version 3.10.4 that enforces path containment checks by resolving symlinks before opening SQLite databases in sql_query(). Users should upgrade to version 3.10.4 or later to remediate this vulnerability. Until patched, avoid registering writable or untrusted directories as NLTK data roots to prevent attackers from planting malicious symlinks.
Description
The NLTK library's sql_query() function in the chat80 module improperly handles symbolic links when opening SQLite databases. It bypasses the path containment checks enforced by the NLTK data sandbox, allowing an attacker with write access to a trusted NLTK data root to create a symlink pointing to an out-of-sandbox SQLite database. This leads to unauthorized read access to that database's contents. The vulnerability affects NLTK versions from 3.9.4 up to but not including 3.10.4. A fix is available in version 3.10.4.