medium4.8
CVE-2026-126302
NLTK from 3.9.4 before 3.10.4 contains a symlink following vulnerability in nltk.sem.chat80.sql_query() that bypasses the pathsec data-root sandbox containment…
Impact
NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | nltk | >= 3.9.4, <= 3.10.3 | 3.10.4 |
Affected products · Nltk
| Product | Affected versions |
|---|---|
| Nltk | from 3.9.4 before 3.10.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q
- https://www.vulncheck.com/advisories/nltk-3.9.4-before-3.10.4-symlink-sandbox-escape-via-chat80-sql-query
- https://github.com/advisories/GHSA-w2j9-qh3j-4h63
- https://nvd.nist.gov/vuln/detail/CVE-2026-126302
- https://github.com/advisories/GHSA-xmfg-f9cm-w86q