CVE-2026-19243: OS Command Injection in HKUDS nanobot
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".
AI Analysis
Technical Summary
This vulnerability in HKUDS nanobot versions 0.2.0 and 0.2.1 involves improper validation of shell commands in the ExecTool._guard_command and ExecTool._spawn functions within nanobot/agent/tools/shell.py. Attackers can inject OS commands remotely due to insufficient validation of shell command segments, wrappers, comments, or chained commands. The root cause was addressed by implementing validation of every executable shell segment against a configured allowlist. The fix is included starting from version 0.3.0.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary OS commands on the affected system, potentially leading to unauthorized command execution. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.3. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Upgrade HKUDS nanobot to version 0.3.0 or later, where the vulnerability is fixed by validating all executable shell segments against a configured allowlist. This is the official and recommended remediation. No other mitigations are indicated.
CVE-2026-19243: OS Command Injection in HKUDS nanobot
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".
CVSS v4.0
Score 5.3medium
Affected software
HKUDS
nanobot
cpe:2.3:a:nanobot:nanobot:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in HKUDS nanobot versions 0.2.0 and 0.2.1 involves improper validation of shell commands in the ExecTool._guard_command and ExecTool._spawn functions within nanobot/agent/tools/shell.py. Attackers can inject OS commands remotely due to insufficient validation of shell command segments, wrappers, comments, or chained commands. The root cause was addressed by implementing validation of every executable shell segment against a configured allowlist. The fix is included starting from version 0.3.0.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary OS commands on the affected system, potentially leading to unauthorized command execution. The vulnerability is rated medium severity with a CVSS 4.0 score of 5.3. There are no reports of active exploitation in the wild at this time.
Mitigation Recommendations
Upgrade HKUDS nanobot to version 0.3.0 or later, where the vulnerability is fixed by validating all executable shell segments against a configured allowlist. This is the official and recommended remediation. No other mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-08-07T12:06:59.355Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a763509bf8831d5390b0159
Added to database: 08/07/2026, 19:42:01 UTC
Last enriched: 08/15/2026, 15:09:55 UTC
Last updated: 09/21/2026, 22:01:32 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.