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
Source GCVE Database
Not known to be exploited · CVSS 7.3 High : upgrade to 0.22.7 soon.
Data as of 1 Dec 2026, 19:00 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.0 |
- Patch
- Available – fixed in 0.22.7
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade hermes-agent to 0.22.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NousResearchhermes-agent | Affected
| Fixed in
|
PyPIhermes-agentpkg:pypi/hermes-agentOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-140425 (opens in a new tab)
- github.com/NousResearch/hermes-agent/pull/146636 (opens in a new tab)
- github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469 (opens in a new tab)
- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py (opens in a new tab)
- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py (opens in a new tab)
- github.com/NousResearch/hermes-agent/releases/tag/v0.22.7 (opens in a new tab)
- vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors (opens in a new tab)