hermes-agent has an Injection issue
CVE-2026-10222 · GHSA-mv8x-fg99-32mf · published 2026-06-01 · updated 2026-07-28
- Severity
- Low
- CVSS score
- 5.6
- Chance of exploitation (EPSS)
- 0.27%
- Fixed in
- 0.18.0
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
A security flaw has been discovered in NousResearch hermes-agent up to 2026.4.30. Affected by this issue is the function _sanitize_env_lines of the file hermes_cli/config.py. The manipulation results in injection. It is possible to launch the attack remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Upgrade hermes-agent to 0.18.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| hermes-agent | PyPI | < 0.18.0 | 0.18.0 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- Criticalmcp-server-git runs a repo's gpg.program via git_merge and git_branchmcp-server-git
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- HighHermes Agent contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validationhermes-agent
- MediumHermes Agent creates response_store.db and webhook_subscriptions.json with world-readable permissions (mode 0o644)hermes-agent
- Mediumhermes-agent has an Uncontrolled Resource Consumption issuehermes-agent
- Mediumhermes-agent has an Injection issuehermes-agent
- Mediumhermes-agent has an Injection issuehermes-agent
- Mediumhermes-agent has an Injection issuehermes-agent
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.