CVE-2026-78682: NLTK · pathsec SSRF protection can be bypassed when a proxy is configured
Affects gptlineSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.0.8_23 soon.
Data as of 22 Nov 2026, 21:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.8_23
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade gptline to 1.0.8_23.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewgptlinepkg:brew/gptlineOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available that enforces refusal of proxied fetches when the egress destination cannot be validated, effectively blocking this SSRF bypass. Operators who trust their proxy can opt back in with environment variables (NLTK_ALLOW_PROXIED_URLOPEN=1) or flags, but the default behavior under ENFORCE mode is to block. Users should upgrade to a patched version (>=3.10.3) or apply the fix that disables unvalidated proxied fetches. Regression tests have been added to ensure this protection. Until patched, avoid relying on pathsec for SSRF protection in proxied environments or disable proxy usage.
Description
NLTK's pathsec module contains a server-side request forgery (SSRF) vulnerability in proxied environments. The vulnerability arises because when an HTTP proxy is configured, the hostname validation performed by pathsec.urlopen() is bypassed, allowing requests to internal-only services via the proxy. This affects functions like nltk.data.load and nltk.downloader.Downloader methods. The issue is present in NLTK version 3.10.0-rc2 and not reproducible in 3.9.4. A fix has been implemented that blocks proxied fetches unless explicitly opted into, preventing unvalidated proxied requests.
References
- github.com/nltk/nltk/security/advisories/GHSA-6ww7-3frv-cqxh (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-78682 (opens in a new tab)
- vulncheck.com/advisories/nltk-before-ssrf-protection-bypass-via-proxy (opens in a new tab)
- github.com/nltk/nltk/commit/767333a005a1cd3d82d2029215f2dbe66a5844d9 (opens in a new tab)
- github.com/nltk/nltk (opens in a new tab)
- github.com/nltk/nltk/releases/tag/v3.10.3 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3733.yaml (opens in a new tab)