Cross-Package Resource Poisoning in NLTK by NLTK
CVE-2026-12261

5.3MEDIUM

Key Information:

Vendor

Nltk

Status
Vendor
CVE Published:
7 August 2026

What is CVE-2026-12261?

A vulnerability exists in the NLTK downloader component that enables cross-package resource and model poisoning. This occurs because the downloader extracts package archives into shared directories such as 'corpora/' and 'taggers/'. Package integrity checks are only performed after the archive is fully extracted, allowing one package to overwrite the resources of another in the same namespace. As a result, any modifications made are immediately available through standard NLTK APIs. This flaw can have significant implications, especially in machine learning pipelines and environments requiring reproducibility, as it affects workflows even after restarting the interpreter.

Affected Version(s)

nltk/nltk <= unspecified

References

CVSS V3.0

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.