CVE-2026-19243HKUDS nanobot OS Command Injection
NVD
Vulnerability Summary
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".
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
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:PAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.3)
CVSS v3.1 Base Metrics — Score 6.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:CAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- HKUDS nanobot 0.2.0
- HKUDS nanobot 0.2.1
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run HKUDS nanobot and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Aug 7, 2026Published
- Aug 11, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new HKUDS nanobot CVEsYou are reading CVE-2026-19243. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Advisoryhttps://vuldb.com/vuln/386997
- Advisoryhttps://vuldb.com/vuln/386997/cti
- Advisoryhttps://vuldb.com/cve/CVE-2026-19243
- Advisoryhttps://vuldb.com/submit/865112
- Advisoryhttps://vuldb.com/submit/865114
- Advisoryhttps://vuldb.com/submit/865115
- Advisoryhttps://vuldb.com/submit/865119
- Advisoryhttps://vuldb.com/submit/865121
- Issue Trackinghttps://github.com/HKUDS/nanobot/issues/4521
- Exploithttps://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba
- Patchhttps://github.com/HKUDS/nanobot/pull/4562
- Patchhttps://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- Referencehttps://github.com/HKUDS/nanobot/
Data last checked: Nov 26, 2026 19:15 UTC