Skip to content
OpenAdvisories
High · 7.5 CVE-2026-78682 EUVD-2026-65228GHSA-6ww7-3frv-cqxhGHSA-crp9-r7rq-c8cgPYSEC-2026-3733

NLTK before 3.10.3 SSRF Protection Bypass via Proxy

Published Aug 25, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
nltk nltk < 3.10.3 3.10.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nltk 3.10.3-1 —
Debian 13 nltk No fix yet —
Debian 12 nltk No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI nltk < 3.10.3 3.10.3 GHSA-6ww7-3frv-cqxh

References