Skip to content
HighVulnerability

CVE-2026-130164: Hermes Agent code execution via screen environment file merge

Identifier
CVE-2026-130164
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

CVE-2026-130164 affects Hermes Agent, the open-source autonomous AI agent from Nous Research, in versions 0.21.6 through 0.23.1. When Bot Desktop runs inside a non-local terminal backend, tools/bot_desktop/sandbox_host.py (_published()) accepts arbitrary KEY=VALUE lines from the hermes-bot-desktop env file and propagates them into the agent's processes. Code inside the terminal backend can set variables such as LD_PRELOAD, DYLD_INSERT_LIBRARIES, or PATH, gaining code execution as the gateway user on the agent machine when a browser or computer-use process is later spawned, which exposes credentials, tokens, and session history under the Hermes home directory. The default local backend, Modal, Daytona, Vercel, and Hermes Cloud in its default configuration are not affected.

Mitigation

Fixed in version 0.23.2.