HKUDS nanobot up to 0.2.1 Shell Allowlist shell.py ExecTool._guard_command/ExecTool._spawn os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 1.61 |
Summary
A vulnerability identified as critical has been detected in HKUDS nanobot up to 0.2.1. The affected element is the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. Performing a manipulation results in os command injection.
This vulnerability is reported as CVE-2026-19243. The attack is possible to be carried out remotely. Moreover, an exploit is present.
You should 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".
Details
A vulnerability was found in HKUDS nanobot up to 0.2.1. It has been classified as critical. This affects the function ExecTool._guard_command/ExecTool._spawn of the file nanobot/agent/tools/shell.py of the component Shell Allowlist Handler. The manipulation with an unknown input leads to a os command injection vulnerability. CWE is classifying the issue as CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2026-19243. The exploitability is told to be easy. It is possible to initiate the attack remotely. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1202 for this issue.
The exploit is shared for download at gist.github.com. It is declared as proof-of-concept. 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".
Upgrading to version 0.3.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 4562 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Vendor
Name
Version
Website
- Product: https://github.com/HKUDS/nanobot/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: nanobot 0.3.0
Patch: 4562
Timeline
08/07/2026 Advisory disclosed08/07/2026 VulDB entry created
08/07/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 4521
Status: Confirmed
CVE: CVE-2026-19243 (🔒)
GCVE (CVE): GCVE-0-2026-19243
GCVE (VulDB): GCVE-100-386997
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/07/2026 14:12Changes: 08/07/2026 14:12 (64)
Complete: 🔍
Submitter: Eric-c
Cache ID: 216::103
Submit
Accepted
- Submit #865112: HKUDS nanobot 0.2.1 OS Command Injection via Allowlist Bypass (CWE-78) (by Eric-c)
Duplicate
- Submit #XXXXXX: Xxxxx Xxxxxxx X.x.x Xxxxxxx Xxxxxxxxx Xxx Xxxxxxx-xxxx Xxxxxxxxx Xxxxxx (xxx-xx) (by Eric-c)
- Submit #XXXXXX: Xxxxx Xxxxxxx X.x.x Xxxxxxxxx Xxxxxx Xxx Xxxxxxx Xxxxxx (xxx-xxx) (by Eric-c)
- Submit #XXXXXX: Xxxxx Xxxxxxx X.x.x Xxxxxxxxx Xxxxxx Xxxxxxx Xx Xxxxxxx Xxxxxxxxx (xxx-xxx) (by Eric-c)
- Submit #XXXXXX: Xxxxx Xxxxxxx X.x.x Xxxxxxx Xxxxxxxxx Xxx Xxxxx-xxxxx Xxxxxxxxx Xxxxxx (xxx-xx) (by Eric-c)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.