CVE-2026-19243
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".
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
- CWE-77: Improper Neutralization of Special Elements used in a Command
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-08-11 |
Timeline
- 2026-08-07Published by the CNA19:30 UTC
- 2026-08-11CISA SSVC decision recorded4 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| hkuds nanobot | 0.2.0no fix listed0.2.1no fix listed | not listednot listed |
| nanobot nanobot |
References
- https://github.com/HKUDS/nanobot/pull/4562
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba
- https://github.com/HKUDS/nanobot/
- https://github.com/HKUDS/nanobot/issues/4521
- https://vuldb.com/cve/CVE-2026-19243
- https://vuldb.com/submit/865112
- https://vuldb.com/submit/865114
- https://vuldb.com/submit/865115
- https://vuldb.com/submit/865119
- https://vuldb.com/submit/865121
- https://vuldb.com/vuln/386997
- https://vuldb.com/vuln/386997/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-19243'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-19243'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-19243'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-19243'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).