# CVE-2026-12372: Server-Side Request Forgery (SSRF) in nltk/nltk

- Severity: Low 3.7 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-09T22:45:52.799Z
- Modified: 2026-10-23T20:10:00.160Z
- Also known as: GHSA-2jhm-w3mp-jcwr, PYSEC-2026-3955
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- nltk nltk/nltk: from unspecified up to latest
- nltk (PyPI): before 3.10.0; up to 3.9.4
- nltk nltk: 3.9.4

## Every score

- @huntr_ai: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 3.7 Low `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://huntr.com/bounties/2911b643-571c-42e4-b0c2-9a1fa6f491db> (exploit, permissions-required, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12372> (advisory)
- <https://github.com/nltk/nltk/commit/4a820afa58810cd05049b6c6eae306694d6cfe65> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3955.yaml> (web)
- <https://github.com/advisories/GHSA-2jhm-w3mp-jcwr> (advisory)

## Sources

- CVE List: [CVE-2026-12372](https://www.cve.org/CVERecord?id=CVE-2026-12372), CVE Terms of Use, modified 2026-08-12
- GitHub Advisory Database: [GHSA-2jhm-w3mp-jcwr](https://github.com/advisories/GHSA-2jhm-w3mp-jcwr), CC-BY-4.0, modified 2026-10-02
- NVD: [CVE-2026-12372](https://nvd.nist.gov/vuln/detail/CVE-2026-12372), Public domain, modified 2026-10-23
- PyPA Advisory Database: [PYSEC-2026-3955](https://osv.dev/vulnerability/PYSEC-2026-3955), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-12372 · Whole record: https://cve.day/CVE-2026-12372.json · Rebuilt by cve.day 2026-11-25T22:59:31.949Z
