CVE-2026-78682
NLTK before 3.10.3 contains a server-side request forgery …
NLTK before 3.10.3 contains a server-side request forgery vulnerability in nltk.pathsec.urlopen (and callers nltk.data.load, nltk.downloader.Downloader.index/download) when an HTTP proxy is configured. pathsec.urlopen validates the requested hostname locally, but proxy-handler inheritance disables the safe HTTP/HTTPS handlers so the actual fetch is performed by the proxy against a destination that is never re-validated. An attacker can supply a validated public URL that the proxy forwards to an internal loopback-only service, allowing disclosure of internal HTTP resources, loading of forged downloader indexes, and installation of attacker-chosen package content.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nltk/nltk/security/advisories/GHSA-6ww7-3frv-cqxh
- www.vulncheck.com/advisories/nltk-before-ssrf-protection-bypass-via-proxy
- nvd.nist.gov/vuln/detail/CVE-2026-78682
- github.com/nltk/nltk/commit/767333a005a1cd3d82d2029215f2dbe66a5844d9
- github.com/nltk/nltk/releases/tag/v3.10.3
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3733.yaml
- github.com/advisories/GHSA-6ww7-3frv-cqxh
- nvd.nist.gov/vuln/detail/CVE-2026-78682
- cve.org/CVERecord?id=CVE-2026-78682
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.