THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-xmfg-f9cm-w86q (medium) — NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases

[GHSA] GHSA-xmfg-f9cm-w86q (medium) — NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases

highgithub_advisoriesPublished 2026-11-16

GHSA-xmfg-f9cm-w86q Severity: medium CVE: CVE-2026-126302

NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases

## Summary

`nltk.sem.chat80.sql_query()` opens a SQLite database by handing the result of `nltk.data.find(dbname)` straight to `sqlite3.connect()` without the path-containment check that the NLTK data sandbox (`nltk.pathse

Indicators of compromise

Original source: https://github.com/advisories/GHSA-xmfg-f9cm-w86q