CVE-2026-140425
Severity CVSS v4.0:
HIGH
Type:
Unavailable / Other
Publication date:
01/12/2026
Last modified:
01/12/2026
Description
Hermes Agent 0.16.0 before 0.22.7 contains a permissive CORS and WebSocket origin check that lets other local-port pages steal the dashboard session token. Attacker content on another localhost port reads the token from GET /, opens /api/ws, calls shell.exec to run OS commands, and reads files via /api/files/download.
Impact
Base Score 4.0
7.30
Severity 4.0
HIGH
Base Score 3.x
7.00
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304
- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449
- https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469
- https://github.com/NousResearch/hermes-agent/pull/146636
- https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7
- https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors


