Vulnerability

CVE-2026-63311

mediumCVSS 4.0 6.9Published 22 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Nltk nltk

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning