CVE-2026-19243
Vulnérabilité moyenne dans nanobot (HKUDS)
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".
Gravité et risque d'exploitation
CVE-2026-19243 obtient un score CVSS de 6.3/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 2.26 %, ce qui la place devant 82.7 % des CVE référencées.
Que faire ?
- Vérifiez si nanobot (versions 0.2.0, 0.2.1, 0.3.0) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://vuldb.com/vuln/386997
- https://vuldb.com/vuln/386997/cti
- 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://github.com/HKUDS/nanobot/issues/4521
- https://gist.github.com/YLChen-007/8fcbf8e49e7be568e1a92e9e0414fdba
- https://github.com/HKUDS/nanobot/pull/4562
- https://github.com/HKUDS/nanobot/releases/tag/v0.3.0
- https://github.com/HKUDS/nanobot/
