CVE-2026-19243
published medium CVSS 4.0 · 5.3HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| HKUDS | — | nanobot0.2.0 (affected) · 0.2.1 (affected) · 0.3.0 (unaffected) | Version-specific | Not stated | VulDB |
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".
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 3.0 | 6.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| HKUDS | nanobot | 0.2.0 (affected)0.2.1 (affected)0.3.0 (unaffected) | VulDB · cna |
Weaknesses
2- CWE-78 OS Command Injection
- CWE-77 Command Injection
References
13- https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba
- https://github.com/HKUDS/nanobot/
- https://github.com/HKUDS/nanobot/issues/4521
- https://github.com/HKUDS/nanobot/pull/4562
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- CVE-2026-19243 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-19243
- Submit #865112 | HKUDS nanobot 0.2.1 OS Command Injection via Allowlist Bypass (CWE-78) https://vuldb.com/submit/865112
- Submit #865114 | HKUDS nanobot 0.2.1 Command Injection via Comment-Tail Allowlist Bypass (CWE-88) (Duplicate) https://vuldb.com/submit/865114
- Submit #865115 | HKUDS nanobot 0.2.1 Allowlist Bypass via Wrapper Prefix (CWE-184) (Duplicate) https://vuldb.com/submit/865115
- Submit #865119 | HKUDS nanobot 0.2.1 Allowlist Bypass Leading to Command Execution (CWE-184) (Duplicate) https://vuldb.com/submit/865119
- Submit #865121 | HKUDS nanobot 0.2.1 Command Injection via Shell-Chain Allowlist Bypass (CWE-88) (Duplicate) https://vuldb.com/submit/865121
- VDB-386997 | HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection https://vuldb.com/vuln/386997
- VDB-386997 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/386997/cti
Provider assertions
2VulDB · cna
HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 08236be39ccf32468a5d2507a646be580791be6f3bbb70119e0e495d78420b16
- Ingested
- 23 Sep 2026, 09:03:35 UTC
- Source record
- Official CVE record