Advisory

PYSEC-2026-3729

Also known as: CVE-2026-12259, CVE-2026-63310, GHSA-5wp5-5229-5g6q, GHSA-gf32-cmjh-8m9v, PYSEC-2026-4318

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Dates

Published
2026-08-22 15:16 UTC
Modified
2026-10-16 10:56 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.9.3 (ecosystem)

Fixed versions

3.9.3

Fix

  • Fixed version 3.9.3
    pip install --upgrade nltk==3.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences