Vulnerability record
CVE-2026-140425
The short answer
CVE-2026-140425 affects NousResearch hermes-agent and is rated high (CVSS 7.0). It is not in CISA's KEV catalog; EPSS puts the chance of exploitation in the next 30 days at 0.15%.
What it is
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.
Weakness: CWE-1385.
Severity
7.0 high
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Not listed
CISA lists confirmed exploitation only
EPSS, next 30 days
0.15%
Higher than 4% of scored CVEs
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Affected products
hermes-agent. NVD's record lists the exact affected versions.
References
- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L304
- github.com/NousResearch/hermes-agent/blob/v2026.7.20/hermes_cli/web_server.py#L449
- github.com/NousResearch/hermes-agent/commit/5e7c2b254d414e4e25105231f818f385fee67469
- github.com/NousResearch/hermes-agent/pull/146636
- github.com/NousResearch/hermes-agent/releases/tag/v0.22.7
- www.vulncheck.com/advisories/hermes-agent-0.16.0-before-0.22.7-session-token-theft-via-dashboard-cors
Questions
Is CVE-2026-140425 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-02. FIRST's EPSS estimates a 0.15% chance of exploitation in the next 30 days.
How do I fix CVE-2026-140425?
Follow the vendor advisory in the references below. NVD lists the affected versions under its configurations.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Received. The description is NVD's text, quoted as published.
Related
Newly exploited vulnerabilities, every Monday
What CISA added to its KEV catalog that week, and the Critical CVEs most likely to be exploited. One email a week, one click to stop.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.