Unsafe Dependency Resolution Affecting nltk package, versions [,3.9.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (54th 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 IDSNYK-PYTHON-NLTK-15763329
  • published25 Mar 2026
  • disclosed5 Mar 2026
  • creditUnknown

Introduced: 5 Mar 2026

CVE-2026-0848  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade nltk to version 3.9.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 Unsafe Dependency Resolution due to lack of verification or sandboxing in the StanfordSegmenter module, when unvalidated Java Archive (JAR) files are dynamically loaded. An attacker can execute arbitrary Java bytecode by supplying or replacing a JAR file, potentially through model poisoning, Man-in-the-Middle (MITM) attacks, or dependency poisoning.

CVSS Base Scores

version 4.0
version 3.1