CVE-2026-140425 PUBLISHED

Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: 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 Score: 7.3

Product Status

Vendor NousResearch
Product hermes-agent
Versions Default: unaffected
  • affected from 0.16.0 to 0.22.7 (excl.)

Credits

  • Di Wu finder

References

Problem Types

  • Missing Origin Validation in WebSockets CWE