P2 · HighCVSS 7.0EPSS 0.1%
Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS
- CVE-2026-140425
- GHSA-98mv-wgm6-54f5
- EUVD-2026-140346
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.
Text from the CVE.org record.
Recommendation
NousResearch hermes-agent
- If you run a version from 0.16.0 to before 0.22.7update to 0.22.7 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
NousResearch hermes-agent
Affected versions Fixed in from 0.16.0 to before 0.22.7 0.22.7
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.