PT-2026-157156
CVE-2026-130164
·
Published
2026-11-23
·
Updated
2026-11-23
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Hermes Agent versions 0.21.6 through 0.23.1
Description
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. This occurs when
terminal.backend is set to docker or ssh (or a plugin backend declaring supports streams) with placement auto or terminal. Specifically, the published() function 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. Consequently, code running inside the terminal backend can set variables such as LD PRELOAD, DYLD INSERT LIBRARIES, or PATH to achieve code execution on the agent machine as the gateway user during a subsequent browser or computer-use spawn, potentially exposing credentials, tokens, and session history.Recommendations
Update Hermes Agent to version 0.23.2.
Found an issue in the description? Have something to add? Feel free to write us 👾