CVE-2026-12075
Published:July 31, 2026
Updated:August 27, 2026
"nltk.pathsec" provides an SSRF filter that NLTK documents as a security control, blocking loopback, private, link-local, and multicast ranges (including obfuscated forms) and recommending strict "ENFORCE" mode for security-sensitive environments. The filter is bypassable by DNS rebinding: "validate_network_url()" resolves the hostname and checks the resulting IP, but the actual HTTP connection re-resolves the hostname independently at connect time and connects to that second result. The validated IP is never the one connected to. An attacker controlling DNS for a hostname (a TTL-0 rebinding record) returns a public IP for the validation lookup and an internal/loopback IP for the connection lookup, defeating the filter even under "nltk.pathsec.ENFORCE = True".
Affected Packages
nltk (CONDA):
Affected version(s) >=2.0.3 <3.10.0Fix Suggestion:
Update to version 3.10.0nltk (PYTHON):
Affected version(s) >=0.8 <3.10.0Fix Suggestion:
Update to version 3.10.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)