{"affected":[{"defaultStatus":"unaffected","ecosystem":"pypi","packageName":"hermes-agent","product":"hermes-agent","source":"CNA: VulnCheck","vendor":"NousResearch","versions":[{"lessThan":"0.22.7","status":"affected","version":"0.16.0","versionType":"semver"}]}],"cveId":"CVE-2026-140425","cwes":["CWE-1385"],"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.","epss":{"date":"2026-12-03","percentile":0.04348,"score":0.0015},"exploits":[],"kev":null,"metrics":[{"score":7.3,"severity":"high","source":"CNA: VulnCheck","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","version":"4.0"},{"score":7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.3,"severity":"high","source":"NVD: disclosure@vulncheck.com","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","version":"4.0"},{"score":7,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1796325587337,"publishedAt":1796139835462,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/NousResearch/hermes-agent/pull/146636"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/NousResearch/hermes-agent/pull/146636"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/NousResearch/hermes-agent/releases/tag/v0.22.7"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/NousResearch/hermes-agent/pull/146636"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469"}],"revision":"b29fe0efcd6aa2e315453efe5d376d79338a40d348f954c28f23652e1c1ea0a8","sources":[{"modifiedAt":1796325587337,"name":"CNA: VulnCheck","retrievedAt":1796328601264,"url":"https://www.cve.org/CVERecord?id=CVE-2026-140425"},{"modifiedAt":1796141901290,"name":"NVD","retrievedAt":1796149122382,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140425"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1796328616546,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-140425"}],"ssvc":{"assessedAt":1796325574350,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Hermes Agent 0.16.0 before 0.22.7 Session Token Theft via Dashboard CORS","updatedAt":1796328616546}