CVE-2026-130164
published high CVSS 3.1 · 7.8Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NousResearch | — | hermes-agent>= 0.21.6, < 0.23.2 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NousResearch | hermes-agent | >= 0.21.6, < 0.23.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-15 CWE-15: External Control of System or Configuration Setting
- CWE-426 CWE-426: Untrusted Search Path
References
3Provider assertions
2GitHub_M · cna
Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f199a6fa6db6afcca9ac741599d1e35af902884789ac1eed6212660a50699b3
- Ingested
- 28 Nov 2026, 03:19:30 UTC
- Source record
- Official CVE record