
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-0848 is an arbitrary code execution vulnerability in the NLTK (Natural Language Toolkit) library's StanfordSegmenter module, caused by improper input validation when dynamically loading external Java .jar files. All NLTK versions up to and including 3.9.2 are affected. The vulnerability was first inserted into Feedly's tracking on January 12, 2026, and published to NVD on March 5, 2026. It carries a CVSS v3.0 base score of 10.0 (Critical) (huntr.com, IBM Advisory). IBM products including QRadar Suite Software and watsonx Orchestrate with watsonx Assistant Cartridge are also affected as downstream consumers of NLTK (IBM QRadar Advisory, IBM watsonx Advisory).
The root cause is CWE-20 (Improper Input Validation): NLTK's StanfordSegmenter module executes external Java .jar files via a subprocess call without verifying the integrity, origin, or content of the JAR file, and without sandboxing the JVM execution environment (huntr.com). The unvalidated classpath input is passed directly to the JVM, allowing any malicious Java class embedded in a supplied or replaced JAR to execute at import time. Exploitation vectors include model poisoning (replacing a legitimate model JAR with a malicious one), man-in-the-middle (MITM) attacks intercepting JAR downloads, and dependency/supply chain poisoning. No authentication or user interaction is required — the malicious code executes automatically when the StanfordSegmenter module is imported or initialized (huntr.com).
Successful exploitation results in complete compromise of the affected system: arbitrary Java bytecode executes with the privileges of the process running NLTK, granting an attacker full control over confidentiality, integrity, and availability. An attacker can exfiltrate sensitive data, install persistent backdoors, pivot to other systems on the network, or cause denial of service. Because the vulnerability is network-accessible with no privileges required and no user interaction needed, and the scope is marked as Changed, the blast radius extends beyond the immediate NLTK process to the broader host environment (huntr.com, IBM Advisory).
A proof-of-concept exploit is publicly available on huntr.com, and additional PoC repositories have appeared on GitHub (e.g., HyperPS/CVE-2026-0848 and fevar54/CVE-2026-0848-Scanner), as well as on exploit aggregators such as Sploitus (huntr.com, Feedly). As of the available data, there is no confirmed evidence of active in-the-wild exploitation, and no threat actor attribution has been reported. The EPSS score is approximately 0.0048 (0.48%), reflecting low but non-zero probability of exploitation in the near term. The vulnerability is not currently listed in the CISA KEV catalog. Detection plugins are available in Nessus (IDs 301391, 316734) and Qualys (ID 6035704) (Feedly).
StanfordSegmenter module in use — scan Python environments, CI/CD pipelines, or NLP services via package manifests (requirements.txt, pyproject.toml) or software composition analysis tools..jar file containing a class with a static initializer or constructor that executes attacker-controlled commands (e.g., a reverse shell) when loaded by the JVM.StanfordSegmenter — this automatically invokes the subprocess call that loads the JAR via the JVM with the unvalidated classpath..jar files in NLTK model directories or Stanford NLP data paths; JAR files with mismatched checksums compared to official Stanford NLP releases; new or unfamiliar .class files in Java classpaths.java, bash, sh, curl, wget, nc) with unexpected arguments; JVM processes with classpath entries pointing to non-standard directories.StanfordSegmenter initialization errors or unexpected JVM output; system logs recording new process creation by the NLTK service account; audit logs showing file modifications to JAR files in model directories (huntr.com).Upgrade NLTK to a version newer than 3.9.2 as the primary remediation — the patch addresses the improper input validation in the StanfordSegmenter module (huntr.com). IBM has released security bulletins for affected products: QRadar Suite Software and watsonx Orchestrate with watsonx Assistant Cartridge users should apply the updates referenced in the respective IBM advisories (IBM QRadar Advisory, IBM watsonx Advisory). As interim workarounds: validate and verify the cryptographic integrity (e.g., SHA-256 checksums) of all JAR files before use; restrict network access to prevent unauthorized JAR downloads; implement network segmentation around NLP services; and use software composition analysis (SCA) tools to detect vulnerable NLTK versions across your environment.
The vulnerability was disclosed via huntr.com's bug bounty platform (assigned by @huntr_ai) and received coverage from security news outlets including The Hacker Wire and Infinit Security (The Hacker Wire, Infinit Security). Social media discussion appeared on Mastodon and Bluesky, with community members highlighting the supply chain risk angle of the vulnerability. The German Linux security community (pro-linux.de) and Ubuntu security advisories also covered the issue, and Tenable released Nessus detection plugins (pro-linux.de, Ubuntu Advisory). IBM's issuance of security bulletins for multiple enterprise products underscores the downstream impact of this vulnerability in production AI/NLP environments.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
nltk: 3.2.5-1ubuntu0.1+esm4
devel
nltk
focal (esm-apps)
nltk: 3.4.5-2ubuntu0.1~esm4
jammy
nltk
jammy (esm-apps)
nltk: 3.7-1ubuntu0.1~esm2
noble
nltk
noble (esm-apps)
nltk: 3.8.1-1ubuntu0.1~esm2
resolute
nltk
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."