{"id":"CVE-2026-140425","aliases":["CVE-2026-140425"],"related":[],"kind":"vulnerability","state":"published","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T15:43:55.462Z","modified":"2026-12-01T16:18:21.290Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-1385"],"affected":[{"ranges":[{"type":"semver","introduced":"0.16.0","fixed":"0.22.7","status":"affected"}],"vendor":"NousResearch","product":"hermes-agent","repo":"https://github.com/NousResearch/hermes-agent","source":"cvelist"}],"references":[{"url":"https://github.com/NousResearch/hermes-agent/pull/146636","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Di Wu"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140425","url":"https://www.cve.org/CVERecord?id=CVE-2026-140425","licence":"CVE Terms of Use","modified":"2026-12-01T15:43:55.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140425","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140425","licence":"Public domain","modified":"2026-12-01T16:18:21.290Z"}],"updatedAt":"2026-12-01T16:32:21.530Z"}