RCE in Hkuds Nanobot
CVE-2026-19243
A security vulnerability has been detected in HKUDS nanobot up to 0.2.1. Impacted is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. Such manipulation leads to os command injection. The attack can be executed remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 0.3.0 is recommended to address this issue. The name of the patch is 4562. It is advisable to upgrade the affected component. Multiple issues were reported to the project. They reacted with a high level of professionalism and kindness: "These five reports are variants of the same root cause: validation of shell commands containing multiple segments, wrappers, comments, or chained commands. The issue was fixed by validating every executable shell segment against the configured allowlist".
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.023 (83.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 83.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.023 · newest: 0.023 · change: 0.000
Affected products
- Hkuds Nanobot — versions 0.2.0, 0.2.1, 0.3.0
Weakness classification (CWE)
References
- vuldb.com/vuln/386997 (technical-description, vdb-entry)
- vuldb.com/vuln/386997/cti (signature, permissions-required)
- vuldb.com/cve/CVE-2026-19243 (third-party-advisory)
- vuldb.com/submit/865112 (third-party-advisory)
- vuldb.com/submit/865114 (third-party-advisory)
- vuldb.com/submit/865115 (third-party-advisory)
- vuldb.com/submit/865119 (third-party-advisory)
- vuldb.com/submit/865121 (third-party-advisory)
- github.com/HKUDS/nanobot/issues/4521 (issue-tracking)
- gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba (exploit)
Frequently asked questions
- What is CVE-2026-19243?
- CVE-2026-19243 is a medium-severity vulnerability in Hkuds Nanobot, classified under Command Injection. CVSS score: 6.3/10. Published 2026-08-07.
- How severe is CVE-2026-19243?
- Medium severity. CVSS v3 base score is 6.3 out of 10.