| Component | Hermes Agent |
| Severity | high (CVSS 7.8) |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published (NVD) | 2026-11-23 |
| Affected versions | >= 0.21.6, < 0.23.2 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | 0.23.2 |
| Weakness | CWE-15CWE-426 |
| CISA KEV | not listed |
NVD description
Hermes Agent is an open-source autonomous AI agent built by Nous Research for running tool-using workflows across CLI, desktop, and messaging interfaces. From 0.21.6 to 0.23.1, when Bot Desktop is hosted inside a non-local terminal backend, the agent process reads a backend-writable screen environment file without validating keys or values and merges its entries into the environment of processes started on the agent machine. Specifically, when terminal.backend is set to docker or ssh (or a plugin backend declaring supports_streams) with placement auto or terminal, _published() in tools/bot_desktop/sandbox_host.py accepts arbitrary KEY=VALUE lines from the hermes-bot-desktop env file and propagates them via tools/bot_desktop/runtime.py into the browser harness, computer-use helpers, and local terminal children. Code running inside the terminal backend can therefore set variables such as LD_PRELOAD, DYLD_INSERT_LIBRARIES, or PATH and gain code execution on the agent machine as the gateway user upon a subsequent browser or computer-use spawn, exposing credentials, tokens, and session history under the Hermes home directory. The default local backend, backends that cannot host a screen (Modal, Daytona, and Vercel), and Hermes Cloud in its default configuration are not affected. This issue is fixed in version 0.23.2.
What to do
- Upgrade Hermes Agent to
0.23.2or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
- Once patched, check what Hermes Agent leaves off by default (sandbox, network access) and that it runs on a machine with room for it. Hardware and setup for Hermes Agent · The exact setup, €12