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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| nousresearch | hermes-agent | {"startIncluding":"0.16.0","endExcluding":"0.22.7"} | 0.22.7 |
References
- 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
CWEs
CWE-1385
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.