Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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