{"id":"CVE-2026-129233","aliases":["GHSA-w674-vqhw-g3pg"],"title":"NLTK: StreamBackedCorpusView constructor os.stat leaks out-of-root file existence, size, and mtime bypassing pathsec ENFORCE","originalDescription":"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.10.0 until 3.10.4, StreamBackedCorpusView performs os.stat on a caller-supplied plain string path during construction before pathsec containment is enforced. The PathPointer branch used by in-tree corpus readers is validated, so exploitation requires application code to pass an attacker-influenced string directly to the public constructor. That string can identify an out-of-root path and disclose its existence, size, and modification time even though opening the file would be rejected. This issue is fixed in version 3.10.4.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00403,"percentile":0.36681},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"nltk","range":">= 3.10.0, <= 3.10.3","fixed":"3.10.4"},{"ecosystem":"PyPI","name":"nltk","range":">=3.10.0, <3.10.4","fixed":"3.10.4"}],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-w674-vqhw-g3pg","type":"x_refsource_CONFIRM"},{"url":"https://github.com/nltk/nltk/pull/3888","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa","type":"x_refsource_MISC"},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","type":"x_refsource_MISC"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129233","type":"other"},{"url":"https://github.com/advisories/GHSA-w674-vqhw-g3pg","type":"other"},{"url":"https://github.com/nltk/nltk","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-19T21:47:03.279Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129233","license":"NVD terms of use","firstSeenAt":"2026-11-19T18:29:03.139Z"},{"name":"osv","at":"2026-11-20T01:01:59.054Z","url":"https://osv.dev/vulnerability/GHSA-w674-vqhw-g3pg","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T00:29:26.551Z"},{"name":"ghsa","at":"2026-12-04T09:31:11.825Z","url":"https://github.com/advisories/GHSA-w674-vqhw-g3pg","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:55:58.715Z"},{"name":"cvelistV5","at":"2026-11-19T22:17:44.627Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-129233","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T17:20:37.922Z"}],"firstSeenAt":"2026-11-19T17:20:37.922Z","publishedAt":"2026-11-19T17:17:57.637Z","modifiedAt":"2026-11-20T00:00:05.083Z"}