CVE-2026-140425
published high CVSS 4.0 · 7.3Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NousResearch | — | hermes-agent0.16.0 to < 0.22.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.0 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NousResearch | hermes-agent | 0.16.0 to < 0.22.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1385 Missing Origin Validation in WebSockets
References
6- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304
- https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449
- https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469
- https://github.com/NousResearch/hermes-agent/pull/146636
- hermes-agent v0.22.7 Release Notes https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7
- VulnCheck Advisory: Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors
Provider assertions
1VulnCheck · cna
Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 26638222bbd3d957e6f5893d7df5398cb6095434de0619fb785b99226cd235b2
- Ingested
- 01 Dec 2026, 15:53:23 UTC
- Source record
- Official CVE record