{"id":"ghsa-ghsa-xmfg-f9cm-w86q","seq":7734722,"kind":"advisory","title":"NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases","url":"https://github.com/advisories/GHSA-xmfg-f9cm-w86q","permalink":"https://vulnpulse.app/items/ghsa-ghsa-xmfg-f9cm-w86q","summary":"影響: pip:nltk >= 3.9.4, <= 3.10.3 → 3.10.4\nnltk.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.pathsec) is meant to enforce. nltk.data.find() applies only lexical checks to the resource name and returns a FileSystemPathPointer whose path is normalized with os.path.abspath but never resolved for symlinks. As a result, an in-root symbolic link that points at a SQLite file outside every registere…","severity":"medium","cvss":null,"techs":["python","sqlite"],"cves":["CVE-2026-126302"],"tags":["GHSA-xmfg-f9cm-w86q","nltk"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-11-16T14:47:23.000Z","fetched_at":"2026-11-17T06:32:51.449Z"}