hermes-agent has an Injection issue
CVE-2026-9366 · GHSA-pgp4-xr4j-h5cg · published 2026-05-26 · updated 2026-06-30
- Severity
- Medium
- CVSS score
- 7.3
- Chance of exploitation (EPSS)
- 0.30%
- Fixed in
- 0.15.0
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Partial
- CISA SSVC
A vulnerability was found in NousResearch hermes-agent 2026.4.23. The impacted element is the function _scan_context_content of the file agent/prompt_builder.py. The manipulation results in injection. The attack may be performed from remote. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Upgrade hermes-agent to 0.15.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.15.0 | 0.15.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 a sandbox 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.