NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| pip:nltk | >= 3.9.4, <= 3.10.3 | 3.10.4 |
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.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…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/11/16 23:47,GitHub Advisory Database 发布了“NLTK: Symlink escape in chat80.sql_query bypasses the pathsec data-root sandbox to read out-of-root SQLite databases”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python、SQLite。CVE:CVE-2026-126302。