PT-2026-55683 · Pypi · Nltk

CVE-2026-12252

·

Published

2026-07-04

·

Updated

2026-08-24

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions nltk versions prior to 3.9.4
Description Five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) allow the execution of untrusted JAR code. These classes accept user-controllable JAR paths and execute them through the java() function, which uses subprocess.Popen() without performing integrity verification. This allows for arbitrary code execution when loading untrusted JAR files.
Recommendations Update to a version later than 3.9.3. As a temporary mitigation, avoid providing user-controllable paths to the java() function within the affected Stanford interface classes.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-12252
OPENSUSE-SU-2026:11587-1
PYSEC-2026-2085

Affected Products

Nltk