id: PYSEC-2026-2510 published: "2026-07-13T15:46:20.346348Z" modified: "2026-07-13T16:04:16.547323Z" aliases: - CVE-2026-53869 - GHSA-4pqm-j46f-795x summary: Hermes Agent contains a DNS rebinding vulnerability in WebSocket endpoints that allows remote attackers to bypass Host and Origin validation details: 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. affected: - package: name: hermes-agent ecosystem: PyPI purl: pkg:pypi/hermes-agent ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 0.16.0 versions: - 0.13.0 - 0.14.0 - 0.15.0 - 0.15.1 - 0.15.2 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2026-53869 - type: WEB url: https://github.com/NousResearch/hermes-agent/pull/30221 - type: WEB url: https://github.com/NousResearch/hermes-agent/pull/31685 - type: WEB url: https://github.com/NousResearch/hermes-agent/commit/d9ec90585cf7616b5972e44cf8d92bb569fc3feb - type: PACKAGE url: https://github.com/NousResearch/hermes-agent - type: WEB url: https://github.com/NousResearch/hermes-agent/releases/tag/v2026.6.5 - type: WEB url: https://www.vulncheck.com/advisories/hermes-agent-dns-rebinding-bypass-via-websocket-endpoints - type: PACKAGE url: https://pypi.org/project/hermes-agent - type: ADVISORY url: https://github.com/advisories/GHSA-4pqm-j46f-795x severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - type: CVSS_V4 score: 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