High severity7.0NVD Advisory· Published Dec 1, 2026
CVE-2026-140425
CVE-2026-140425
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.
Affected products
1- Range: <0.22.7
Patches
Vulnerability mechanics
References
6- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.pynvd
- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.pynvd
- github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469nvd
- github.com/NousResearch/hermes-agent/pull/146636nvd
- github.com/NousResearch/hermes-agent/releases/tag/v0.22.7nvd
- www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-corsnvd
News mentions
0No linked articles in our index yet.