CVE-2026-63311 json
NLTK before 3.10.0 SSRF via DNS Resolution Failure
published 3mo ago modified 28d ago also EUVD-2026-64334 , GHSA-3gqm-fcw5-w839 , PYSEC-2026-3723
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- pypi nltk 3.10.0
- nltk nltk 3.10.0
- nltk Debian 14 3.10.0-1
debian advisories DEBIAN-CVE-2026-63311
- github.com/nltk/nltk@4a820af commit
- github.com/nltk/nltk#3582 pull request
- github.com/nltk/nltk/releases/tag/v3.10.0 release
Is CVE-2026-63311 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-63311 updated cvss 4.2
nltk: NLTK: Server-Side Request Forgery bypass via DNS resolution failures
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/lightspeed-stack-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/lightspeed-chatbot-rhel8 Red Hat OpenShift AI (RHOAI) rhoai/odh-ogx-core-rhel9, rhoai/odh-ta-lmes-job-rhel9, rhoai/odh-llama-stack-core-rhel9, rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9, rhoai/odh-trustyai-nemo-guardrails-server-rhel9, rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9, +1 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.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 |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 4.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | nltk | <3.10.0 |
3.10.0 |
Affected products
- nltk nltk
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/nltk/nltk/pull/3582
web
-
github.com
/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65
web
-
github.com
/nltk/nltk/security/advisories/GHSA-3gqm-fcw5-w839
vendor-advisory, web, exploit, mitigation, evidence, advisory
-
vulncheck.com
/advisories/nltk-before-ssrf-via-dns-resolution-failure
third-party-advisory, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-63311
advisory
-
github.com
/nltk/nltk
package
-
github.com
/nltk/nltk/releases/tag/v3.10.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3723.yaml
web
Sources
- CVE List CVE-2026-63311
- GitHub Advisory GHSA-3gqm-fcw5-w839
- NVD CVE-2026-63311
- OSV PYSEC-2026-3723
- Maintainer advisory GHSA-3gqm-fcw5-w839
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of nltk/nltk published their own advisory on GitHub. Reviewed sources take precedence over it.