Vulnerability · Published Aug 22, 2026 · Assigned by VulnCheck

CVE-2026-63311NLTK before 3.10.0 SSRF via DNS Resolution Failure

Medium 5.3

In plain English

A medium-severity server-side request forgery in nltk from nltk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 73.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nltkno fix listedDEBIAN-CVE-2026-63311
Debian:13nltkno fix listedDEBIAN-CVE-2026-63311
Debian:14nltk3.10.0-1DEBIAN-CVE-2026-63311
PyPInltk3.10.0GHSA-3gqm-fcw5-w839
PyPInltk3.10.0PYSEC-2026-3723
Ubuntu:26.10nltkno fix listedUBUNTU-CVE-2026-63311

Affected products (as reported)

VendorProductVersions
nltk nltk 0 – before 3.10.0

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References