{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-140425","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-12-01T03:12:50.458Z","datePublished":"2026-12-01T15:43:55.462Z","dateUpdated":"2026-12-01T15:43:55.462Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-12-01T15:43:55.462Z"},"datePublic":"2026-10-29T00:00:00.000Z","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Missing Origin Validation in WebSockets","cweId":"CWE-1385","type":"CWE"}]}],"affected":[{"vendor":"NousResearch","product":"hermes-agent","defaultStatus":"unaffected","versions":[{"version":"0.16.0","lessThan":"0.22.7","status":"affected","versionType":"semver"}],"packageURL":"pkg:pypi/hermes-agent","repo":"https://github.com/NousResearch/hermes-agent"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/NousResearch/hermes-agent/pull/146636","tags":["issue-tracking","patch"]},{"url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469","tags":["patch"]},{"url":"https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7","tags":["release-notes"],"name":"hermes-agent v0.22.7 Release Notes"},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304","tags":["technical-description"]},{"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors","name":"VulnCheck Advisory: Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Di Wu","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}