Skip to main content
← All vulnerabilities
CVE-2026-78682PYSEC-2026-3733GHSA-6WW7-3FRV-CQXH

NLTK before 3.10.3 SSRF Protection Bypass via Proxy

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    fixed in 3.10.3

  • nltkPyPI

    fixed in 3.10.3

References 2

GitHub · nltk/nltk

vulncheck.com