HighVulnerability
CVE-2026-0848: NLTK arbitrary code execution through StanfordSegmenter JAR loading
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-0848
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
NLTK versions <=3.9.2 are affected by CVE-2026-0848, an improper input validation flaw in the StanfordSegmenter module. The module loads external Java .jar files without verification or sandboxing, and the JAR is executed via subprocess with unvalidated classpath input. An attacker who supplies or replaces the JAR can run arbitrary Java bytecode at import time, reachable through model poisoning, MITM attacks, or dependency poisoning.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoSigned but Steerable: Measuring and Closing the Text-Vector Integrity Gap in Offline Retrieval-Augmented GenerationSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoA Bag of Tricks for Defending Deep Learning-based Face Recognition Pipelines against Backdoor AttacksSimilar attack · Arxiv (cs.RO + cs.CV security)
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- HighCVE-2026-118627: MLflow SHAP load_explainer untrusted deserialization enables code executionSimilar attack · NVD/CVE Database