{"id":"CVE-2026-70626","published":"2026-08-22T14:12:44Z","modified":"2026-08-24T19:49:30Z","title":"NLTK before 3.9.4 Symlink Escape via CorpusReader","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.002,"percentile":0.09983,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-r6gq-whwq-mvg9","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nltk-before-symlink-escape-via-corpusreader","tags":["third-party-advisory"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":2.0},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":["< 3.9.4"]}],"fixedVersions":[{"vendor":"nltk","product":"nltk","versions":["3.9.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-24T19:49:24.557944Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.9.4"],"patched":["3.9.4"],"from":["GHSA-r6gq-whwq-mvg9","PYSEC-2026-3732"],"provenance":"source"}],"summary":{"text":"The NLTK library, in versions before 3.9.4, has a symlink escape flaw in the CorpusReader.open() method, where path validation is purely lexical and does not resolve symbolic links. An attacker with local access can place a symlink inside the corpus root that points to a file outside it, allowing them to read arbitrary files beyond the intended corpus boundary, without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:15Z"},"euvd":{"id":"EUVD-2026-64314","exploited":false,"provenance":"source"}}