{"id":81485,"date":"2026-07-04T05:46:23","date_gmt":"2026-07-04T02:16:23","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-12252-untrusted-jar-code-execution-in-multiple-stanford-interface-classes-in-nltk-nltk\/"},"modified":"2026-07-04T05:46:23","modified_gmt":"2026-07-04T02:16:23","slug":"cve-2026-12252-untrusted-jar-code-execution-in-multiple-stanford-interface-classes-in-nltk-nltk","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-12252-untrusted-jar-code-execution-in-multiple-stanford-interface-classes-in-nltk-nltk\/","title":{"rendered":"CVE-2026-12252 &#8211; Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk\/nltk"},"content":{"rendered":"<p>CVE ID :CVE-2026-12252<\/p>\n<p>  Published : July 4, 2026, 2:16 a.m. | 5\u00a0hours, 31\u00a0minutes ago<\/p>\n<p>  Description :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.<\/p>\n<p>  Severity: 7.8 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-12252 Published : July 4, 2026, 2:16 a.m. | 5\u00a0hours, 31\u00a0minutes ago Description :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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81485","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81485"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81485\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}