{"id":"CVE-2026-140425","aliases":["EUVD-2026-140346","GHSA-98mv-wgm6-54f5"],"status":"published","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","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.","severity":{"version":"4.0","score":7.3,"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.0015,"percentile":0.04331,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1385"],"published":"2026-12-01T15:43:55Z","modified":"2026-12-04T20:45:37Z","products":[{"vendor":"nousresearch","product":"hermes-agent"}],"references":[{"url":"https://github.com/NousResearch/hermes-agent/pull/146636","tags":["issue-tracking","patch","fix"]},{"url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469","tags":["patch","fix"]},{"url":"https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7","tags":["release-notes","advisory"]},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304","tags":["technical-description","article"]},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449","tags":["technical-description","article"]},{"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","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140425","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-98mv-wgm6-54f5"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140425.json","tags":["advisory"]},{"url":"https://github.com/NousResearch/hermes-agent","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-140425","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","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.","status":"published","published":"2026-12-01T15:43:55.462Z","modified":"2026-12-03T19:19:47.337Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-1385"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-03"},"updated_at":"2026-12-03T19:31:06.135659Z"}],"euvd":[{"id":"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.","status":"published","published":"2026-12-01T15:43:55Z","modified":"2026-12-03T19:19:47Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"}],"updated_at":"2026-12-01T21:20:38.064884Z"}],"ghsa":[{"id":"GHSA-98mv-wgm6-54f5","title":"Hermes Agent 0.16.0 before 0.22.7 contains a permissive CORS and WebSocket origin check that lets...","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.","status":"published","published":"2026-12-01T18:31:45Z","modified":"2026-12-01T18:31:52Z","cvss":[{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-1385"],"updated_at":"2026-12-01T19:00:43.861074Z"}],"nvd":[{"id":"CVE-2026-140425","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.","status":"published","published":"2026-12-01T16:18:21.29Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":7.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-1385"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-03"},"updated_at":"2026-12-03T20:20:46.999493Z"}],"osv":[{"id":"CVE-2026-140425","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","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.","status":"published","published":"2026-12-01T15:43:55.462Z","modified":"2026-12-04T20:45:37.15395997Z","cvss":[{"version":"4.0","score":7.3,"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","level":"high"}],"cwes":["CWE-1385"],"updated_at":"2026-12-02T21:28:42.350468Z"}]}}
