HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
CVE-2026-19243Published 7 Aug 2026, 19:30 UTC
Real-world risk
1.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulDB)
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".
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| nanobotNiche | = 0.2.0; = 0.2.1 | 0.3.0 |
What to do
Update to a fixed version: 0.3.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
EPSS 1.6% chance of exploitation in 30 days (percentile 77), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.6 × threat 0.951.710
- Rounded to one decimal between 0.1 and 101.7
Exploitation and evidence timeline
- 7 Aug 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Risk 1.7 (cvss fallback)
Weakness
CWE-77, CWE-78
References
- https://vuldb.com/vuln/386997technical-description, vdb-entry
- https://vuldb.com/vuln/386997/ctipermissions-required, signature
- https://vuldb.com/cve/CVE-2026-19243third-party-advisory
- https://vuldb.com/submit/865112third-party-advisory
- https://vuldb.com/submit/865114third-party-advisory
- https://vuldb.com/submit/865115third-party-advisory
- https://vuldb.com/submit/865119third-party-advisory
- https://vuldb.com/submit/865121third-party-advisory
- https://github.com/HKUDS/nanobot/issues/4521issue-tracking
- https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdbaexploit
- https://github.com/HKUDS/nanobot/pull/4562issue-tracking, patch
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0patch
- https://github.com/HKUDS/nanobot/product
- CVE-2026-19243 on CVE.org