CVE-2026-130164 - Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends
Vulnerability · Reported by NVD · · CWE-15, CWE-426
- Severity
- High Risk score 78/100
- CVSS
- 7.8 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.37% Higher than 23% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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 u
How this vulnerability can be exploited
An attacker can exploit this vulnerability with local access to the system, with a low-privileged account, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service. The impact can spread beyond the vulnerable component to other parts of the system.
Is it being exploited?
The EPSS model estimates a 0.37% chance this CVE will be exploited in the next 30 days, which is low and higher than 23% of all published CVEs.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Tags
CVE-2026-130164, Cloud / DevOps
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-130164 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.