Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nltk
  4. ›
  5. CVE-2026-78682

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

September 8, 2026

Current NLTK source reopens SSRF in proxied environments. pathsec.urlopen() validates the requested hostname locally, but once proxy inheritance is enabled the real fetch is performed by the proxy rather than by the validated direct-connect socket path.

References

  • github.com/advisories/GHSA-6ww7-3frv-cqxh
  • github.com/nltk/nltk/commit/767333a005a1cd3d82d2029215f2dbe66a5844d9
  • github.com/nltk/nltk/releases/tag/v3.10.3
  • github.com/nltk/nltk/security/advisories/GHSA-6ww7-3frv-cqxh
  • github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3733.yaml
  • nvd.nist.gov/vuln/detail/CVE-2026-78682
  • www.vulncheck.com/advisories/nltk-before-ssrf-protection-bypass-via-proxy

Code Behaviors & Features

Detect and mitigate CVE-2026-78682 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.10.3

Fixed versions

  • 3.10.3

Solution

Upgrade to version 3.10.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/nltk/CVE-2026-78682.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:22:07 +0000.