CVE-2026-19243HKUDS nanobot Shell Allowlist shell.py ExecTool._spawn os command injection
Updated under an hour ago ()
Does this affect you?
It affects HKUDS nanobot. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 6.3 MEDIUM (v3.1, 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
- Weakness (CWE)
- CWE-78, CWE-77
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Deferred
- Record last updated
- Aug 11, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
HKUDS nanobot nanobot:nanobot | 0.2.0; 0.2.1; 0.3.0 not affected | CNA record |
References
- https://vuldb.com/vuln/386997vdb-entry, technical-description
- https://vuldb.com/vuln/386997/ctisignature, permissions-required
- https://vuldb.com/cve/CVE-2026-19243third-party-advisory
- https://vuldb.com/submit/865112third-party-advisory
- https://vuldb.com/submit/865114third-party-advisory
- https://vuldb.com/submit/865115third-party-advisory
- https://vuldb.com/submit/865119third-party-advisory
- https://vuldb.com/submit/865121third-party-advisory
- https://github.com/HKUDS/nanobot/issues/4521issue-tracking
- https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdbaexploit
- https://github.com/HKUDS/nanobot/pull/4562issue-tracking, patch
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0patch
- https://github.com/HKUDS/nanobot/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.