CVE-2026-130164NousResearch Hermes-agent vulnerability
CVSS score
7.8
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
No EPSS score yet.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running NousResearch Hermes-agent and compare its version with the affected versions.
Update to a fixed version
- Update Hermes-agent to 0.23.2 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| NousResearch Hermes-agent | >= 0.21.6, < 0.23.2 |
Frequently asked questions
Is CVE-2026-130164 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far.
What is the CVSS score of CVE-2026-130164?
CVE-2026-130164 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Nousresearch Hermes-agent (>= 0.21.6, < 0.23.2)
Is there a patch for CVE-2026-130164?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.