Cloudanix VulnDB

CVE-2026-78682

High · 7.5

CVSS

7.5

EPSS

0.4%

Published

Aug 25, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

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.

Exploit Available
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

  1. Identify NLTK < 3.10.3 with HTTP_PROXY configured
  2. Craft a URL that passes pathsec validation but resolves via proxy to internal target
  3. Trigger nltk.data.load or Downloader.index/download to force proxy fetch
  4. 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