Server-side Request Forgery (SSRF) Affecting nltk package, versions [,3.10.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-NLTK-19256807
  • published25 Aug 2026
  • disclosed25 Aug 2026
  • creditsondt99

Introduced: 25 Aug 2026

NewCVE-2026-78682  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade nltk to version 3.10.3 or higher.

Overview

nltk is a Natural Language Toolkit (NLTK) is a Python package for natural language processing.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the urlopen process in nltk/pathsec.py. An attacker can reach internal-only HTTP resources by supplying a URL that passes local validation and then fetching it through a configured proxy, which performs the actual egress outside NLTK’s pinning path. This lets an attacker read loopback, link-local, or private network content through callers such as nltk.data.load and downloader fetch paths, causing internal data exposure and allowing the application to retrieve and process forged downloader content.

CVSS Base Scores

version 4.0
version 3.1