Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-130164

CVE-2026-130164: Hermes Agent: Missing key validation for Bot Desktop screen environment file in non-local terminal backends

NousResearch hermes-agent

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-130164: high-severity vulnerability (CVSS 7.8) in NousResearch hermes-agent.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

NousResearch hermes-agent >= 0.21.6, < 0.23.2

ProductVersionsFixed in
NousResearch hermes-agent>= 0.21.6, < 0.23.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-15, CWE-426

Relevant change history

  1. Published

    Preliminary advisory published.