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.
- CVSS
- 5.3Medium
- Chance of exploitation (EPSS)
- 0.40%
- Published
- Nov 19, 2026
- In the news
- Not yet
What to do
A moderate information leak in Nltk that can be attacked over the network without logging in. Exploit code is public, so patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Nltk
- >= 3.10.0, < 3.10.4
Description
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.
Affected products
Get alerts for these →Timeline 5
Latest change: Tenable Cloud Security plugin 480956: SCA: security update for nltk (GHSA-w674-vqhw-g3pg) (Nov 23, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Nov 24, 2026
Mon, Nov 23, 2026
Sun, Nov 22, 2026
Thu, Nov 19, 2026
- CVECVE-2026-129233 published (CVSS 5.3)CVE Program · 18:18 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
References 5
- github.com /nltk/nltk/commit/2c563b13f9dce7c15eefd4b03463e1b69b64f1f3
- github.com /nltk/nltk/commit/68434c0427f8d296f3adfddb518525038d1f7bfa
- github.com /nltk/nltk/pull/3888
- github.com /nltk/nltk/releases/tag/v3.10.4
- github.com /nltk/nltk/security/advisories/GHSA-w674-vqhw-g3pg