CVE-2026-63311
published medium CVSS 4.0 · 6.9NLTK before 3.10.0 SSRF via DNS Resolution Failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk0 to < 3.10.0 (affected · semver) · 3.10.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 0 to < 3.10.0 (affected · semver)3.10.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-918 Server-Side Request Forgery (SSRF)
References
2- GitHub Security Advisory (GHSA-3gqm-fcw5-w839) https://github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839
- VulnCheck Advisory: NLTK before 3.10.0 SSRF via DNS Resolution Failure https://www.vulncheck.com/advisories/nltk-before-ssrf-via-dns-resolution-failure
Provider assertions
2VulnCheck · cna
NLTK before 3.10.0 SSRF via DNS Resolution Failure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f57b2382fed1b4a482a443e0bcbc1851d03075cb63a57e727b95a2df9c10fee0
- Ingested
- 23 Sep 2026, 09:25:23 UTC
- Source record
- Official CVE record