CVE-2026-126302 NLTK 3.9.4 before 3.10.4 Symlink Sandbox Escape via chat80.sql_query
MediumCVSS 4.8
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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 check. Attackers who can write into a trusted NLTK data root can plant a symbolic link to read SQLite databases outside the sandbox.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi nltk | >= 3.9.4, < 3.10.4 | 3.10.4 | Fixed |
| pypi nltk(PyPI) | = 3.9.4; = 3.10.0; = 3.10.1; = 3.10.2 +3 more | 3.10.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nltk | >= 3.9.4, < 3.10.4 | 3.10.4 |
| pypi nltk(PyPI) | >= 3.9.4, <= 3.10.3 | No fix listed |
| pypi nltk(PyPI) | >= 3.9.4, < 3.10.4 | 3.10.4 |
| pypi nltk(PyPI) | = 3.10.0 | No fix listed |
| pypi nltk(PyPI) | = 3.10.1 | No fix listed |
| pypi nltk(PyPI) | = 3.10.2 | No fix listed |
| pypi nltk(PyPI) | = 3.10.3 | No fix listed |
| pypi nltk(PyPI) | = 3.9.4 | No fix listed |
References
- GitHub Security Advisory (GHSA-xmfg-f9cm-w86q) vendor-advisory
- VulnCheck Advisory: NLTK 3.9.4 before 3.10.4 Symlink Sandbox Escape via chat80.sql_query third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-125219 third-party-advisory