CVE-2026-78682
Description
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.
Weakness
- CWE-918: Server-Side Request Forgery
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-08-25 |
Timeline
- 2026-08-25Published by the CNA01:30 UTC
- 2026-08-25CISA SSVC decision recordedsame day
- 2026-09-08GitHub advisory published (GHSA-6ww7-3frv-cqxh)14 days after publication
Exploit and advisory records
GitHub advisory GHSA-6ww7-3frv-cqxh, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI nltk | before 3.10.3 | 3.10.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nltk nltk | before 3.10.3fixed in 3.10.3 | 3.10.3 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-6ww7-3frv-cqxh
- https://www.vulncheck.com/advisories/nltk-before-ssrf-protection-bypass-via-proxy
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-78682'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-78682'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-78682'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-78682'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).