6.5
MEDIUM CVSS 2.0
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 !
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
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
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 to fix command injection vulnerability.
  • Upgrade HKUDS nanobot to version 0.3.0.
  • Ensure all executable shell segments are validated.
  • Review command execution allowlist configuration.
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:

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.