CVE-2026-126296
NLTK before 3.10.4 contains a path traversal vulnerability in …
NLTK before 3.10.4 contains a path traversal vulnerability in save_maxent_params() and load_maxent_params() that bypasses the pathsec filesystem restriction mechanism. Attackers who control the tab_dir argument can read or overwrite model parameter files outside permitted data roots, because the functions call Python's built-in open() directly.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nltk/nltk/security/advisories/GHSA-59f9-gqg8-mqpj
- www.vulncheck.com/advisories/nltk-before-3.10.4-path-traversal-via-save-maxent-params-and-
- nvd.nist.gov/vuln/detail/CVE-2026-126296
- github.com/nltk/nltk/pull/3759
- github.com/nltk/nltk/commit/2a92b71827d754ae8920261e7ed0c4bb283ab2d7
- github.com/nltk/nltk/releases/tag/v3.10.4
- github.com/advisories/GHSA-59f9-gqg8-mqpj
- nvd.nist.gov/vuln/detail/CVE-2026-126296
- cve.org/CVERecord?id=CVE-2026-126296
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.