CVE-2026-140425: NousResearch hermes-agent · Missing Origin Validation in WebSockets
Affects NousResearch hermes-agentSource CVE Database V5
Not known to be exploited · CVSS 7.3 High : upgrade to 0.22.7 soon.
Data as of 1 Dec 2026, 16:14 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 NousResearch 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.
AI-suggested
Upgrade Hermes Agent to version 0.22.7 or later, where the origin validation and CORS policies have been properly enforced to prevent token theft and unauthorized WebSocket access. No other mitigation is indicated as the vendor has provided an official fix.
Description
Hermes Agent versions 0.16.0 up to but not including 0.22.7 have a vulnerability due to permissive CORS and WebSocket origin checks. This flaw allows malicious content on other localhost ports to steal the dashboard session token. An attacker can then use this token to open a WebSocket connection, execute OS commands, and download files from the system. The issue is fixed in version 0.22.7.
References
- 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/releases/tag/v0.22.7 (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)
- vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors (opens in a new tab)