CVE-2026-63311CWE-918ssrf

CVE-2026-63311

Medium · published August 22, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
25.6
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
6.9 · 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
EPSS
0.00334 · 25.6th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-08-22T19:16Z
Affected products (1)
ProductVersionsFixed in
nltk/nltk< 3.10.03.10.0
References (2)
EPSS history
Timeline
  • 22 AUG 14:12Z
    NLTK before 3.10.0 SSRF via DNS Resolution Failure
    cvelistv5