← 취약점·업데이트

보통취약점 권고PythonSQLite

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.33.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…

GitHub Advisory Database에서 읽기

2026. 11. 16. 오후 11: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.