CVE-2026-0848
Last modified
CVE-2026-0848 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nltk | Nltk | <= 3.9.2 |
References
- https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202Exploit, Vendor Advisory
- https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-0848?
How severe is CVE-2026-0848?
How do I fix CVE-2026-0848?
Are you affected by CVE-2026-0848?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
