CVE-2026-53869: Missing Authentication for Critical Function in NousResearch hermes-agent
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.
AI Analysis
Technical Summary
CVE-2026-53869 affects Hermes Agent prior to version 0.16.0. The vulnerability arises from missing authentication and validation on WebSocket upgrade requests at specific API endpoints. FastAPI middleware responsible for Host and Origin validation is not executed for these WebSocket connections, enabling DNS rebinding attacks. This allows remote attackers to bypass security controls and potentially execute arbitrary commands or access terminal output remotely without privileges or user interaction. The CVSS 4.0 score is 8.7, indicating high severity.
Potential Impact
Remote attackers can exploit this vulnerability to bypass Host and Origin validation on WebSocket endpoints, leading to unauthorized command injection or terminal output disclosure. This compromises the confidentiality and integrity of the affected system. No known exploits are reported in the wild yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected WebSocket endpoints and monitor for suspicious activity. Avoid exposing Hermes Agent instances to untrusted networks.
CVE-2026-53869: Missing Authentication for Critical Function in NousResearch hermes-agent
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-53869 affects Hermes Agent prior to version 0.16.0. The vulnerability arises from missing authentication and validation on WebSocket upgrade requests at specific API endpoints. FastAPI middleware responsible for Host and Origin validation is not executed for these WebSocket connections, enabling DNS rebinding attacks. This allows remote attackers to bypass security controls and potentially execute arbitrary commands or access terminal output remotely without privileges or user interaction. The CVSS 4.0 score is 8.7, indicating high severity.
Potential Impact
Remote attackers can exploit this vulnerability to bypass Host and Origin validation on WebSocket endpoints, leading to unauthorized command injection or terminal output disclosure. This compromises the confidentiality and integrity of the affected system. No known exploits are reported in the wild yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected WebSocket endpoints and monitor for suspicious activity. Avoid exposing Hermes Agent instances to untrusted networks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-10T21:23:54.283Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a32e8dcf198dc38c1e39885
Added to database: 06/17/2026, 18:35:08 UTC
Last enriched: 06/24/2026, 19:50:07 UTC
Last updated: 08/01/2026, 19:18:01 UTC
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.