CVE-2026-126302: NLTK 3.9.4 before 3.10.4 Symlink Sandbox Escape via chat80.sql_query

Published Nov 13, 2026
·
Updated

NLTK from 3.9.4 before 3.10.4 contains a symlink following vulnerability in nltk.sem.chat80.sqlquery() 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.

Affected Software

1 affected component
pypi/nltk>=3.9.4<3.10.4

Event History

Nov 13, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments using affected NLTK versions from 3.9.4 before 3.10.4 are exposed when they use nltk.sem.chat80.sql_query() and have a trusted NLTK data root that an attacker can write to.

2

What does an attacker need to exploit it?

The attacker needs write access to a trusted NLTK data root. They can plant a symbolic link that causes sql_query() to read a SQLite database outside the intended data-root sandbox.

3

Is this remotely exploitable by an unauthenticated attacker?

The provided vector indicates local access, low attack complexity, low privileges required, and no user interaction. The description specifically requires the ability to write into the trusted NLTK data root.

4

What versions should be remediated?

NLTK versions from 3.9.4 up to, but not including, 3.10.4 are affected. Updating to 3.10.4 or later addresses the affected version range described.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203