CVE-2026-140425
Hermes dashboard trusted unrelated localhost origins with shell access
Nous Research · Hermes Agent web dashboard
First documented disclosure · Review checkpoint
Summary
A web page on another local port could read the dashboard session token and use privileged dashboard routes.
Severity and exploitation evidence
High · 7.3/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed public originals establish a vulnerability or controlled demonstration, not malicious exploitation against users. No exploit, package, model or external proof of concept was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The CORS rule trusted every loopback port, while the WebSocket origin check discarded the port; a different localhost origin could read the token-bearing page and authenticate to the terminal.
Conditions required
The dashboard is running and the user opens attacker-controlled JavaScript served from another local port. This is not a general grant to arbitrary remote website origins.
Potential impact
Dashboard data and files could be read and terminal commands executed with the dashboard process authority.
Affected versions and configurations
0.16.0 through versions before 0.22.7, according to the CNA.
Fix and mitigation status
0.22.7. The tagged boundary helper trusts the bound port, the exact configured public origin or the associated desktop development renderer. PR146636 merged November 2.
Practical next steps
Upgrade to a current supported release containing 0.22.7; avoid untrusted local web previews while an older dashboard is running and review exposed session credentials.
Operating lesson
Localhost ports are separate browser origins and must not share implicit trust.
Evidence and limits
The directly linked predecessor PR128111 publicly documented this exact token/terminal path on September 29. Its early fixed-port proposal was superseded; the final merged rule and v0.22.7 tag were separately inspected. Release 0.22.7 was published November 3. The CNA published December 1; that is not the first public evidence. The displayed CVSS 4.0 7.3 is the VulnCheck CNA assessment.
Sources
- VulnCheck CVE authority record
Primary source ·
- Earliest reviewed public origin-boundary report
Primary source ·
- Final merged correction
Primary source ·
- Fixed release
Primary source ·
- Tagged origin enforcement
Primary source ·