CVE-2026-140425
Hermes Agent 0. 16. 0 before 0. 22. 7 Session Token Theft via Dashboard CORS
- Severity
- 7.3HighLocal attack, no privileges, needs user interactionCVSS 4.0, CVE List
- Exploitation
- UnknownNo source reports exploitation yet.
- Exploit chance
- 0.15% in 30 daysPercentile4thEPSS, scored
- Listed fix
- None listedNo source lists a fixed version in its version data.Check the description and references.
Overview
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.
CVSS 4.0 vector
Exploitability
- Attack vector
- Local
- Complexity
- High
- Attack requirements
- Present
- Privileges needed
- None
- User interaction
- Passive
Impact on the vulnerable system
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Impact on subsequent systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploit chance over time
Affected
Products 1
Sources
CVE List Score usedCVSS 4.07.3
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.
- Record
CVE-2026-140425- CVSS 4.0
- 7.3 High
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 - CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-1385
- Updated
- 2026-12-03
EUVDEUVD-2026-140346CVSS 4.07.3
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.
- Record
EUVD-2026-140346- CVSS 4.0
- 7.3 High
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 - Updated
- 2026-12-01
GitHub AdvisoriesGHSA-98mv-wgm6-54f5CVSS 4.07.3
Hermes Agent 0.16.0 before 0.22.7 contains a permissive CORS and WebSocket origin check that lets...
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.
- Record
GHSA-98mv-wgm6-54f5- CVSS 4.0
- 7.3 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-1385
- Updated
- 2026-12-01
NVDCVSS 4.07.3
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.
- Record
CVE-2026-140425- CVSS 4.0
- 7.3 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-1385
- Updated
- 2026-12-03
OSVCVSS 4.07.3
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.
- Record
CVE-2026-140425- CVSS 4.0
- 7.3 High
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 - Weakness
- CWE-1385
- Updated
- 2026-12-02
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Published date | EUVD | |
| Published date | EUVD | |
| Other IDs, references, severity | GitHub Advisories | |
| References | OSV | |
| Other IDs, published date | EUVD | |
| Severity | NVD | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/NousResearch/hermes-agent/pull/146636
github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469
github.com/NousResearch/hermes-agent/releases/tag/v0.22.7
github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py
vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors
nvd.nist.gov/vuln/detail/CVE-2026-140425
github.com/advisories/GHSA-98mv-wgm6-54f5
github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140425.json
github.com/NousResearch/hermes-agent