CVE-2026-126302

NameCVE-2026-126302
DescriptionNLTK 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.
SourceCVE (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 PackageReleaseVersionStatus
nltk (PTS)bookworm3.8-1fixed
trixie3.9.1-2fixed
forky, sid3.10.3-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nltksourcebookworm(not affected)
nltksourcetrixie(not affected)
nltksource(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

Search for package or bug name: Reporting problems