CVE-2026-12372
published low CVSS 3.0 · 3.7Server-Side Request Forgery (SSRF) in nltk/nltk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk/nltkunspecified through latest | Affected | Not stated | @huntr_ai |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkaarch64 | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkppc64le | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltks390x | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-nltkx86_64 | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkaarch64 | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkppc64le | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltks390x | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-nltkx86_64 | Advisory build | 3.10.2-1.1 | OPENSUSE-SU-2026:11510-1 |
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in nltk/nltk versions 3.9.4 and the current develop branch. The `nltk.pathsec.validate_network_url()` function, intended to prevent SSRF by rejecting internal network addresses, fails to reject IPs in the RFC 6598 shared address space (`100.64.0.0/10`). This occurs because Python's `ipaddress` module does not classify such addresses as `is_private` or `is_global`, and the current guard only checks `is_private` and a few explicit categories. An attacker who can influence a URL passed to NLTK's network-loading helpers can exploit this vulnerability to make a strict-mode application send requests to shared-address-space hosts, potentially exposing non-public infrastructure reachable from the application host. The impact is limited to SSRF-style confidentiality exposure, with no code execution claimed.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk/nltk | unspecified through latest (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
1Provider assertions
2@huntr_ai · cna
Server-Side Request Forgery (SSRF) in nltk/nltk
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f4092931a4c8f2b5f1154b6a19127f7a3c827f79d9e38e1bbb691251a0442f1c
- Ingested
- 23 Sep 2026, 09:00:57 UTC
- Source record
- Official CVE record