Skip to main content
VulnerabilityPublished Updated

CVE-2026-78682: NLTK · pathsec SSRF protection can be bypassed when a proxy is configured

Affects gptlineSource GCVE Database

0
Compare

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

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewgptlinepkg:brew/gptlineOther threatsAffected
  • >=1.0.8 <1.0.8_23
Fixed in
  • 1.0.8_23

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

Community reviews

Loading reviews…