Hermes Agent contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validation
CVE-2026-53869 · GHSA-4pqm-j46f-795x · published 2026-06-17 · updated 2026-06-19
- Severity
- High
- CVSS score
- 7.5
- Chance of exploitation (EPSS)
- 0.59%
- Fixed in
- 0.16.0
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Hermes Agent before 0.16.0 contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validation. FastAPI HTTP middleware does not execute for WebSocket upgrade requests on /api/pty, /api/ws, /api/pub, and /api/events endpoints, enabling attackers to exploit DNS rebinding and inject malicious commands or read terminal output.
Upgrade hermes-agent to 0.16.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.16.0 | 0.16.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalJupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixjupyter-mcp-server
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
- 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
- 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.