CVE-2026-79657: NLTK: Allowlisted pickle loaders still permit code execution in current source
The current source tree still allows arbitrary code execution during supposedly safer allowlisted pickle loading. The allowlist trusts whole module namespaces instead of exact safe globals, so crafted pickles can invoke dangerous in-namespace callables through pickle REDUCE.
References
- github.com/advisories/GHSA-x99w-6fgc-pmfw
- github.com/nltk/nltk/commit/c3e37113742a1ebeeb4f2ca58941f320f98805ea
- github.com/nltk/nltk/releases/tag/v3.10.3
- github.com/nltk/nltk/security/advisories/GHSA-x99w-6fgc-pmfw
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3735.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-79657
- www.vulncheck.com/advisories/nltk-before-3.10.3-remote-code-execution-via-unsafe-pickle-deserialization
Code Behaviors & Features
Detect and mitigate CVE-2026-79657 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →