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 :
Oct. 23, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| 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.
-
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: nanobot de HKUDS, Description: Una vulnerabilidad de seguridad ha sido detectada en HKUDS nanobot hasta la versión 0.2.1. Afectada está la función ExecTool._guard_command/ExecTool._spawn del archivo nanobot/agent/tools/shell.py del componente Shell Allowlist Gestor. Dicha manipulación conduce a inyección de comandos del SO. El ataque puede ser ejecutado remotamente. El exploit ha sido divulgado públicamente y puede ser utilizado. Actualizar a la versión 0.3.0 es recomendado para abordar este problema. El nombre del parche es 4562. Es aconsejable actualizar el componente afectado. Múltiples problemas fueron reportados al proyecto. Reaccionaron con un alto nivel de profesionalismo y amabilidad: ’Estos cinco informes son variantes de la misma causa raíz: validación de comandos de shell que contienen múltiples segmentos, envoltorios, comentarios o comandos encadenados. El problema se solucionó validando cada segmento de shell ejecutable contra la lista de permitidos configurada’. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 11, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-19243', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-11T01:10:00.887794Z'} -
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