{"id":"CVE-2026-12372","published":"2026-08-09T22:45:52Z","modified":"2026-08-12T17:48:54Z","title":"Server-Side Request Forgery (SSRF) in nltk/nltk","vendor":"nltk","product":"nltk/nltk","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0026,"percentile":0.18033,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://huntr.com/bounties/2911b643-571c-42e4-b0c2-9a1fa6f491db","tags":[]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":3.61},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk/nltk","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-12T17:45:59.173613Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.10.0","<=3.9.4"],"patched":["3.10.0"],"from":["GHSA-2jhm-w3mp-jcwr","PYSEC-2026-3955"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-54961","exploited":false,"provenance":"source"}}