CVE-2026-19243
HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
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".
INFO
Published Date :
Aug. 7, 2026, 8:16 p.m.
Last Modified :
Aug. 7, 2026, 8:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-19243
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | LOW | [email protected] |
Solution
- Upgrade HKUDS nanobot to version 0.3.0.
- Ensure all executable shell segments are validated.
- Review command execution allowlist configuration.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-19243.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-19243 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-19243
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-19243 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-19243 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Aug. 07, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*'], 'vendor': 'HKUDS', 'modules': ['Shell Allowlist Handler'], 'product': 'nanobot', 'versions': [{'status': 'affected', 'version': '0.2.0'}, {'status': 'affected', 'version': '0.2.1'}, {'status': 'unaffected', 'version': '0.3.0'}]}] Added 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". Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CWE CWE-78 Added CWE CWE-77 Added Reference https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba Added Reference https://github.com/HKUDS/nanobot/ Added Reference https://github.com/HKUDS/nanobot/issues/4521 Added Reference https://github.com/HKUDS/nanobot/pull/4562 Added Reference https://github.com/HKUDS/nanobot/releases/tag/v0.3.0 Added Reference https://vuldb.com/cve/CVE-2026-19243 Added Reference https://vuldb.com/submit/865112 Added Reference https://vuldb.com/submit/865114 Added Reference https://vuldb.com/submit/865115 Added Reference https://vuldb.com/submit/865119 Added Reference https://vuldb.com/submit/865121 Added Reference https://vuldb.com/vuln/386997 Added Reference https://vuldb.com/vuln/386997/cti