Home / NousResearch / hermes-agent / CVE-2026-140425
CVE-2026-140425: is it exploited, and which versions of NousResearch hermes-agent are affected and fixed?
CVE-2026-140425 is a missing Origin Validation in WebSockets vulnerability in NousResearch hermes-agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: hermes-agent from 0.16.0 before 0.22.7 (CVE record by VulnCheck). Fixed in 0.22.7 (CVE record by VulnCheck). Severity: High (7.3, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record December 1, 2026, 15:55 UTC and NVD December 1, 2026, 17:12 UTC.
What is CVE-2026-140425?
Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS
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.
From the CVE record by VulnCheck, last updated December 1, 2026, 15:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NousResearch | hermes-agent | from 0.16.0 before 0.22.7 | 0.22.7 |
As the CVE record by VulnCheck states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-140425?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 4.0 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| High 7.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-140425 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.15% probability of exploitation activity in the next 30 days, percentile 4.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1385 Missing Origin Validation in WebSockets
Where are the vendor advisories and references?
- https://github.com/NousResearch/hermes-agent/pull/146636 issue-tracking, patch
- https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469 patch
- hermes-agent v0.22.7 Release Notes release-notes
- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304 technical-description
- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449 technical-description
- VulnCheck Advisory: Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS third-party-advisory
Who found and reported it?
- Di Wu (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 1, 2026
- Published
- December 1, 2026, 15:43 UTC
- CVE record updated
- December 1, 2026, 15:43 UTC by VulnCheck
- NVD
- Received, last modified December 1, 2026, 16:18 UTC
- Last checked
- CVE list December 1, 2026, 15:55 UTC; NVD December 1, 2026, 17:12 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hermes-agent?
- Nov 23, 2026CVE-2026-130164 NousResearch hermes-agent: external Control of System or Configuration Setting
- Sep 3, 2026CVE-2026-71963 NousResearch hermes-agent: OS command injection
- Sep 3, 2026CVE-2026-85107 NousResearch hermes-agent: denial of service (resources allocated without limits)
- Sep 3, 2026CVE-2026-85106 NousResearch hermes-agent: server-side request forgery (SSRF)
- Sep 3, 2026CVE-2026-85105 NousResearch hermes-agent: authorization bypass through a user-controlled key (IDOR)
- Sep 1, 2026CVE-2026-84289 NousResearch hermes-agent: memory Allocation with Excessive Size Value
- Sep 1, 2026CVE-2026-84288 NousResearch hermes-agent: resource not released
- Sep 1, 2026CVE-2026-84287 NousResearch hermes-agent: resource not released
Questions about CVE-2026-140425
Is CVE-2026-140425 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.15% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NousResearch hermes-agent are affected by CVE-2026-140425?
hermes-agent from 0.16.0 before 0.22.7, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-140425?
0.22.7, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-140425?
High (7.3, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-140425?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.