CVE-2026-19243: HKUDS nanobot · Command Injection
Source GCVE Database
Public exploit available · CVSS 5.3 Medium · fixed in 0.3.0 : patch nanobot as a priority.
Data as of 5 Nov 2026, 23:24 UTC
- EPSS
- 2.2% chance of exploitation in 30 days – higher than 83% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| HKUDSnanobot | Affected
| Fixed in– |
GitHubhkuds/nanobotpkg:github/hkuds/nanobotOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade HKUDS nanobot to version 0.3.0 or later, which includes the fix that validates every executable shell segment against the configured allowlist, effectively preventing command injection. No other mitigations are indicated. The vendor has responded professionally and provided an official fix. Users should apply this upgrade promptly to address the vulnerability.
Description
A command injection vulnerability exists in HKUDS nanobot versions up to 0.2.1 in the Shell Allowlist Handler component. The flaw affects the ExecTool._guard_command and ExecTool._spawn functions in nanobot/agent/tools/shell.py, allowing remote attackers to execute arbitrary OS commands. The issue arises from insufficient validation of shell commands containing multiple segments or chained commands. The vulnerability has been publicly disclosed with exploit details available. Upgrading to version 0.3.0, which includes validation of every executable shell segment against a configured allowlist, mitigates the issue.
References
- nvd.nist.gov/vuln/detail/CVE-2026-19243 (opens in a new tab)
- github.com/HKUDS/nanobot/issues/4521 (opens in a new tab)
- github.com/HKUDS/nanobot/pull/4562 (opens in a new tab)
- gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba (opens in a new tab)
- github.com/HKUDS/nanobot (opens in a new tab)
- github.com/HKUDS/nanobot/releases/tag/v0.3.0 (opens in a new tab)
- vuldb.com/cve/CVE-2026-19243 (opens in a new tab)
- vuldb.com/submit/865112 (opens in a new tab)
- vuldb.com/submit/865114 (opens in a new tab)
- vuldb.com/submit/865115 (opens in a new tab)
- vuldb.com/submit/865119 (opens in a new tab)
- vuldb.com/submit/865121 (opens in a new tab)
- vuldb.com/vuln/386997 (opens in a new tab)
- vuldb.com/vuln/386997/cti (opens in a new tab)