{"id":"CVE-2026-0848","published":"2026-03-05T20:48:05Z","modified":"2026-03-06T16:31:01Z","title":"Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading","vendor":"nltk","product":"nltk/nltk","tier":"tail","description":{"text":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00841,"percentile":0.58779,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202","tags":[]}],"priority":{"score":23.8,"factors":[{"name":"EPSS percentile","points":11.76},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":7.0}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2026-03-29","earliestUrl":"https://github.com/HyperPS/CVE-2026-0848","repos":[{"name":"HyperPS/CVE-2026-0848","url":"https://github.com/HyperPS/CVE-2026-0848","stars":0,"created":"2026-03-29"},{"name":"fevar54/CVE-2026-0848-PoC-Improper-Input-Validation","url":"https://github.com/fevar54/CVE-2026-0848-PoC-Improper-Input-Validation","stars":0,"created":"2026-03-31"},{"name":"fevar54/CVE-2026-0848-Scanner---Herramienta-de-Detecci-n","url":"https://github.com/fevar54/CVE-2026-0848-Scanner---Herramienta-de-Detecci-n","stars":0,"created":"2026-03-31"}]},"first":{"date":"2026-03-29","source":"PoC-in-GitHub","url":"https://github.com/HyperPS/CVE-2026-0848"},"provenance":"source"},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk/nltk","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-06T16:30:57.313646Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.9.3"],"patched":["3.9.3"],"from":["PYSEC-2026-99"],"provenance":"source"}],"summary":{"text":"The flaw is an arbitrary code execution issue in the StanfordSegmenter module of NLTK (nltk/nltk), affecting versions up to and including 3.9.2, caused by the module loading external Java .jar files via subprocess with unvalidated classpath input and without verification or sandboxing. An attacker who can supply or replace the JAR file, for example through model poisoning, a man-in-the-middle attack, or dependency poisoning, can get arbitrary Java bytecode executed at import time, with no authentication or user interaction required and network access as the delivery route.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:53Z"},"euvd":{"id":"EUVD-2026-9875","exploited":false,"provenance":"source"}}