CVE-2026-63311
Last modified
CVE-2026-63311 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. NLTK before 3.10.0 (affected versions <= 3.9.4) contains a server-side request forgery (SSRF) vulnerability in the validate_network_url() function in nltk/pathsec.py. The _resolve_hostname() helper catches OSError and ValueError during socket.getaddrinfo() and returns an empty list; when DNS resolution fails, the validation loop executes no IP checks and the function fails open, allowing urlopen() to proceed without validation. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
NLTK before 3.10.0 (affected versions <= 3.9.4) contains a server-side request forgery (SSRF) vulnerability in the validate_network_url() function in nltk/pathsec.py. The _resolve_hostname() helper catches OSError and ValueError during socket.getaddrinfo() and returns an empty list; when DNS resolution fails, the validation loop executes no IP checks and the function fails open, allowing urlopen() to proceed without validation. An attacker who can trigger DNS resolution failures or use DNS rebinding can bypass SSRF protections and reach restricted network resources, including cloud metadata endpoints (e.g., 169.254.169.254).
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nltk | Nltk | < 3.10.0 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839Exploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/nltk-before-ssrf-via-dns-resolution-failureThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-63311?
How severe is CVE-2026-63311?
How do I fix CVE-2026-63311?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63306stoatchat before 0.13.5 contains an unauthenticated server-s…9.2
- CVE-2026-63307Chat2DB before 5.3.0 contains an insecure direct object refe…7.1
- CVE-2026-63308Helm through 4.2.3, fixed in commit ba6c9a2, contains a deni…6.5
- CVE-2026-63309SurrealDB before 3.1.5 fail to apply field-level SELECT perm…4.3
- CVE-2026-6331HMAC zero-length tag forgery in EVP_DigestVerifyFinal, where…7.5
- CVE-2026-63310NLTK before 3.9.3 fails to verify file integrity after downl…6.5
- CVE-2026-63312NLTK before 3.10.0 contains an arbitrary local file read vul…7.5
- CVE-2026-633139Router before 0.4.72 contains a server-side request forgery…8.3
- CVE-2026-63317Arbitrary Class Instantiation via XML Feature Generator Desc…5.6
- CVE-2026-6332CWE-312: Cleartext Storage of Sensitive Information vulnerab…7.5
- CVE-2026-63328Trivy is a security scanner. Prior to 0.72.0, plugin manifes…6.8
- CVE-2026-6333Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fa…5
Are you affected by CVE-2026-63311?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
