| Name | CVE-2026-126302 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| nltk (PTS) | bookworm | 3.8-1 | fixed |
| trixie | 3.9.1-2 | fixed |
| forky, sid | 3.10.3-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| nltk | source | bookworm | (not affected) | | | |
| nltk | source | trixie | (not affected) | | | |
| nltk | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - nltk <not-affected> (Vulnerable code not present, introduced in 3.9.4)
[bookworm] - nltk <not-affected> (Vulnerable code not present, introduced in 3.9.4)
https://github.com/nltk/nltk/security/advisories/GHSA-xmfg-f9cm-w86q