Hermes Agent shell.exec bypasses the pre-execution security scanner
CVE-2026-14625 · GHSA-5p65-6hm5-c89p · published 2026-07-04 · updated 2026-12-03
- Severity
- Low
- CVSS score
- 6.3
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
A security flaw has been discovered in NousResearch hermes-agent up to 0.15.2. The affected element is the function shell.exec of the file tui_gateway/server.py. The manipulation results in protection mechanism failure. It is possible to launch the attack remotely. 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.
No fixed release is listed yet for hermes-agent. Limit what it can reach, or stop using it until a fix ships, and follow the source advisory for updates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| hermes-agent | PyPI | >= 0.15.0, <= 0.19.0 | No fix yet |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- 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.