OS Command Injection Vulnerability in HKUDS Nanobot by HKUDS
CVE-2026-19243
Key Information:
Badges
What is CVE-2026-19243?
A security vulnerability exists in HKUDS Nanobot versions prior to 0.3.0, affecting the Shell Allowlist Handler. Specifically, the issue arises from inadequate validation of shell commands, leading to potential remote command injection. Attackers can exploit this vulnerability by manipulating the ExecTool._guard_command and ExecTool._spawn functions in the shell.py file, which may allow unauthorized command execution on the host system. To mitigate this risk, it is recommended to upgrade to version 0.3.0, which includes a critical patch that effectively validates every executable shell segment against an allowlist, addressing the root cause of this issue.
Affected Version(s)
nanobot 0.2.0
nanobot 0.2.1
nanobot 0.3.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
