CVE-2026-71513
NLTK before 3.10.3 contains a remote code execution vulnerability …
NLTK before 3.10.3 contains a remote code execution vulnerability in AllowlistUnpickler that validates only the pickle module string and not the global name, allowing attackers to resolve dotted names by attribute traversal to callables outside the allowlisted namespace. Attackers can craft untrusted transition-parser models that execute arbitrary commands when TransitionParser.parse loads the model through allowlisted_pickle_load.
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
- github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124
- github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea
- www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dot
- nvd.nist.gov/vuln/detail/CVE-2026-71513
- github.com/advisories/GHSA-5gh2-94qg-qppq
- nvd.nist.gov/vuln/detail/CVE-2026-71513
- cve.org/CVERecord?id=CVE-2026-71513
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.