ADVISORIES

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

EcosystemPackageAffected versions
PyPInltk
All versions before 3.9.3 (fixed in 3.9.3)

References