{"id":"CVE-2026-128137","published":"2026-11-19T18:02:15Z","modified":"2026-11-19T20:40:54Z","title":"NLTK corpus-reader view methods bypass the scoped root sandbox via intermediate-directory symlinks","vendor":"nltk","product":"nltk","tier":"tail","description":{"text":"NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 until 3.10.4, NLTK corpus-reader path pointers and view methods validate a requested relative path without consistently resolving intermediate directory symlinks against the reader's scoped root. A local attacker who can place such a symlink can make abspaths or words reach a readable file outside the corpus root and disclose its contents. On releases with pathsec enforcement, the file must remain inside a global NLTK allowed root; version 3.9.4 has enforcement disabled and permits a broader escape. This issue is fixed in version 3.10.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.04937,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-g58v-j9g9-5gfg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/pull/3761","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/9f7cf06b4af4ca5c65381ed0abc17e989dc54400","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":0.99},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-23","earliestUrl":"https://github.com/googlesky/CVE-2026-128137","repos":[{"name":"googlesky/CVE-2026-128137","url":"https://github.com/googlesky/CVE-2026-128137","stars":0,"created":"2026-11-23"}]},"first":{"date":"2026-11-23","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-128137"},"provenance":"source"},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk","versions":[">= 3.9.4, < 3.10.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-19T20:27:00.681712Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":[">=3.9.4, <3.10.4"],"patched":["3.10.4"],"from":["GHSA-g58v-j9g9-5gfg"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-130493","exploited":false,"provenance":"source"}}