CVE-2026-78682
High · 7.5CVSS
7.5
EPSS
0.4%
Published
Aug 25, 2026
CISA due date
—
Cloudanix analysis
A flaw in a popular Python text-processing library can let attackers reach internal company systems through a configured web proxy, potentially exposing private data or installing malicious code.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Library
- Class
- SSRF
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
SSRF in nltk.pathsec.urlopen (and callers nltk.data.load, nltk.downloader.Downloader.index/download) when an HTTP proxy is configured: local hostname validation is bypassed because proxy-handler inheritance disables safe HTTP/HTTPS handlers, allowing the proxy to fetch an attacker-supplied destination that is never re-validated.
Why it matters to the business
Organizations using NLTK with a configured HTTP proxy risk exposure of internal HTTP resources, tampering with downloader indexes, and installation of attacker-controlled package content, increasing the chance of data disclosure or supply-chain compromise in ML/NLP pipelines.
How an attack unfolds
An attacker supplies a URL that passes local validation to a public host; the proxy then performs the actual fetch to an internal loopback target, disclosing internal services or serving forged indexes and malicious packages.
How to fix it
Upgrade NLTK to 3.10.3 or later; if an immediate upgrade is impossible, avoid configuring an HTTP proxy for NLTK components or isolate the NLTK environment from internal networks.
How to confirm the fix worked
Confirm NLTK version >= 3.10.3; test that proxy-configured urlopen calls no longer allow arbitrary internal targets by attempting a loopback request and verifying it is rejected.
Typical attack path
- Identify NLTK < 3.10.3 with HTTP_PROXY configured
- Craft a URL that passes pathsec validation but resolves via proxy to internal target
- Trigger nltk.data.load or Downloader.index/download to force proxy fetch
- Exfiltrate internal HTTP responses or install attacker-chosen package content
How to detect it
Review application and proxy logs for NLTK downloader or urlopen calls that reference unexpected internal destinations or loopback addresses; correlate with package installation events.
What your security team should do
- Prioritize upgrade of NLTK to 3.10.3 across all environments within the next 30 days given rising EPSS and public exploit availability
- Audit proxy settings for any NLTK usage and remove or restrict them where possible
- Monitor package installation and downloader activity for unexpected indexes or content
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-121581 A vulnerability has been found in ArcReel 0.32.0/0.33.0/0.34.0. CWE-918
- CVE-2026-121580 Server-side request forgery in the Jira ticketing filter lookup in Devolutions Server… CWE-918
- CVE-2026-120715 Server-side request forgery in the Active Directory credential validation in Devolutions… CWE-918
- CVE-2026-105822 The Tapo Cloud MQTT proxy contains a server-side request forgery (SSRF) vulnerability… CWE-918
- CVE-2026-121561 Label Studio before 1.23.2 (label-studio-sdk before 2.1.2) contains a server-side request… CWE-918
- CVE-2026-114582 An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before… CWE-918
- CVE-2026-111362 An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before… CWE-918
- CVE-2026-121431 AzuraCast before 0.24.0 contains a server-side request forgery vulnerability that allows… CWE-918