Affected versions
Version ranges need review.
PyPInltk
- Affected versions
- >=3.10.0 <3.10.3 || =3.10.0 || =3.10.1 || =3.10.2
- Fixed version
- 3.10.3
PyPInltk
- Affected versions
- >= 3.10.0, < 3.10.3
- Fixed version
- 3.10.3
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
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.
Links
- https://github.com/advisories/GHSA-5gh2-94qg-qppq
- https://github.com/nltk/nltk
- https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124
- https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea
- https://nvd.nist.gov/vuln/detail/CVE-2026-71513
- https://pypi.org/project/nltk
- https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass

