PyPA Advisory Database
PYSEC-2026-3729
Details
NLTK before 3.9.3 fails to verify file integrity after downloading packages and before extraction in the downloader module. Attackers can perform man-in-the-middle attacks or DNS poisoning to inject malicious package contents that are extracted without validation.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | nltk | All versions before 3.9.3 (fixed in 3.9.3) |