CVE-2026-19243 HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
- Published
- Updated
- Exploit status
- No public exploit known
Description
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".
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nanobot | = 0.2.0 | No fix listed |
| nanobot | = 0.2.1 | No fix listed |
References
- VDB-386997 | HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection technical-description vdb-entry
- VDB-386997 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- CVE-2026-19243 | CVE Analysis and Report third-party-advisory
- Submit #865112 | HKUDS nanobot 0.2.1 OS Command Injection via Allowlist Bypass (CWE-78) third-party-advisory
- Submit #865114 | HKUDS nanobot 0.2.1 Command Injection via Comment-Tail Allowlist Bypass (CWE-88) (Duplicate) third-party-advisory
- Submit #865115 | HKUDS nanobot 0.2.1 Allowlist Bypass via Wrapper Prefix (CWE-184) (Duplicate) third-party-advisory
- Submit #865119 | HKUDS nanobot 0.2.1 Allowlist Bypass Leading to Command Execution (CWE-184) (Duplicate) third-party-advisory
- Submit #865121 | HKUDS nanobot 0.2.1 Command Injection via Shell-Chain Allowlist Bypass (CWE-88) (Duplicate) third-party-advisory
- github.com issue-tracking
- gist.github.com exploit
- github.com issue-tracking patch
- github.com patch
- github.com product