Vulnerability GHSA-9r6g-266r-89x4

High Risk
HIGH RISK
CVSS Score: 7.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
3 months ago
July 04, 2026 at 03:31 AM UTC
NLTK Stanford wrapper classes execute untrusted JAR files without verification
0.8 - 0.9.9 and 2.0b4 - 3.9.3
0.8 - 0.9.9 and 2.0b4 - 3.9.3

Summary

NLTK Stanford wrapper classes execute untrusted JAR files without verification

Details

In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the java() function, which invokes subprocess.Popen() without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.

Impacted packages

Timeline

Published
3 months ago
July 04, 2026 at 03:31 AM UTC
Fixed (3.9.4)
6 months ago
March 24, 2026 at 06:13 AM UTC
Last Modified
5 hours ago
October 02, 2026 at 06:55 PM UTC