CVE-2026-130164
HIGH 7.8CVSS 3.1Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends
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.
- Published
- 23 Nov 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-15CWE-426
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | NousResearch | hermes-agent | = >= 0.21.6, < 0.23.2 |
References
- https://github.com/NousResearch/hermes-agent/commit/9c44c34ac74bec800ca25c32e7d5e9b1dd47168d · x_refsource_MISC
- https://github.com/NousResearch/hermes-agent/pull/154487 · x_refsource_MISC
- https://github.com/NousResearch/hermes-agent/security/advisories/GHSA-p22p-9ph6-gmrh · x_refsource_CONFIRM
History
- 2 Dec 2026 21:25 UTC · NVD: status Received → Deferred
- 28 Nov 2026 05:10 UTC · NVD: 1 reference added
- 28 Nov 2026 04:10 UTC · CVE List: updated (other details)
- 25 Nov 2026 20:34 UTC · CVE List: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 23 Nov 2026)