# CVE-2026-71513: NLTK 3.10.0 through 3.10.2 Remote Code Execution via AllowlistUnpickler Dotted-Name Bypass

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-08-22T13:34:07.811Z
- Modified: 2026-10-14T19:10:00.297Z
- Also known as: GHSA-5gh2-94qg-qppq, PYSEC-2026-3867
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nltk nltk: from 3.10.0 before 3.10.3; before 3.10.3 (not affected: 3.10.3)
- nltk (PyPI): from 3.10.0 before 3.10.3

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea> (patch, web)
- <https://github.com/nltk/nltk> (package, product)
- <https://github.com/nltk/nltk/blob/v3.10.2/nltk/picklesec.py#L119-L124> (product, technical-description, web)
- <https://www.vulncheck.com/advisories/nltk-through-remote-code-execution-via-allowlistunpickler-dotted-name-bypass> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-71513> (advisory)
- <https://pypi.org/project/nltk> (package)
- <https://github.com/advisories/GHSA-5gh2-94qg-qppq> (advisory)

## Sources

- CVE List: [CVE-2026-71513](https://www.cve.org/CVERecord?id=CVE-2026-71513), CVE Terms of Use, modified 2026-08-27
- GitHub Advisory Database: [GHSA-5gh2-94qg-qppq](https://github.com/advisories/GHSA-5gh2-94qg-qppq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-71513](https://nvd.nist.gov/vuln/detail/CVE-2026-71513), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-3867](https://osv.dev/vulnerability/PYSEC-2026-3867), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-71513 · Whole record: https://cve.day/CVE-2026-71513.json · Rebuilt by cve.day 2026-11-25T22:59:34.871Z
