VDB

CVE-2026-12252

CVE-2026-12252 PUBLISHED CVSS 7.8 HIGH

Reported by @huntr_ai · Published July 4, 2026

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.

Risk Scores

CVSS 3.0
7.8
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
nltknltk/nltkunspecified
nltknltk/nltkunspecified, unspecified

Timeline

  • Jul 4, 2026 EPSS Score
  • Jul 4, 2026 Coalition ESS Score
  • Jul 4, 2026 CVE Published
  • Jul 6, 2026 Security Advisory
  • Jul 8, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score
  • Aug 24, 2026 EPSS Score
  • Sep 4, 2026 EPSS Score
  • Sep 12, 2026 EPSS Score
  • Sep 17, 2026 EPSS Score
  • Sep 18, 2026 EPSS Score
  • Sep 24, 2026 EPSS Score

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›