Vulnerability in Hermes Agent Affects Open-Source AI Tool by Nous Research
CVE-2026-130164
7.8HIGH
What is CVE-2026-130164?
The Hermes Agent, an open-source AI tool, has a code execution vulnerability that affects versions 0.21.6 to 0.23.1. When hosted in a non-local terminal backend (like Docker or SSH), the agent does not properly validate the contents of environment variables from the hermes-bot-desktop env file. This flaw allows malicious users to inject arbitrary KEY=VALUE pairs, potentially enabling them to execute arbitrary code with the privileges of the gateway user. Consequently, sensitive data such as credentials and session history may be exposed. Version 0.23.2 addresses this issue.
Affected Version(s)
hermes-agent >= 0.21.6, < 0.23.2
