Server-Side Request Forgery (SSRF) in Natural Language Toolkit - CVE-2026-12075
Published: November 22, 2026
Vulnerability details
The vulnerability allows a remote attacker to bypass the server-side request forgery filter even in ENFORCE mode and potentially read sensitive responses from internal HTTP services.
The vulnerability exists due to a gap between DNS validation and connection establishment in nltk.pathsec.urlopen when processing URLs for nltk.download or nltk.data.load. A remote attacker can supply a URL subject to DNS rebinding to induce a request to a restricted destination and read its response if the application returns it.