CVE-2026-140425
NVD
Vulnerability Summary
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 v4.0 Base Metrics — Score 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:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.0)
CVSS v3.1 Base Metrics — Score 7.0 (HIGH)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- NousResearch hermes-agent >= 0.16.0 and < 0.22.7
- NousResearch hermes-agent 0.22.7
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run NousResearch hermes-agent and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 1, 2026Published
- Dec 1, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new NousResearch hermes-agent CVEsYou are reading CVE-2026-140425. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/NousResearch/hermes-agent/pull/146636
- Patchhttps://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469
- Referencehttps://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7
- Referencehttps://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304
- Referencehttps://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449
- Referencehttps://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors
Data last checked: Dec 1, 2026 16:14 UTC