Hermes Agent
CVE-2026-53870
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local OS user account on Hermes Agent host
-
DeliveryLocate world-readable response_store.db and webhook_subscriptions.json on filesystem
-
ExploitRead files directly without elevated privileges
-
ExecutionExtract conversation history, prompts, tool payloads from SQLite database
-
PersistExtract per-route HMAC secrets from webhook_subscriptions.json
-
ImpactForge signed webhook request to trigger unauthorized agent actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid local user account on the operating system host running Hermes Agent (CVSS PR:L, AV:L). The vulnerable files response_store.db and webhook_subscriptions.json must have been created by Hermes Agent - they are generated at runtime on first use, so the agent must have been started at least once. No special Hermes Agent configuration is required; the world-readable permissions are the default in all pre-0.16.0 versions. Remote exploitation is not possible without prior OS-level access. Exploitation is limited to: (1) passive information disclosure by reading the SQLite database or JSON file directly, and (2) active webhook forgery using extracted HMAC secrets, which requires that webhook routes are configured and reachable. Deployments where Hermes Agent runs as a dedicated single-purpose service account with no other interactive local users sharing the same host are at significantly reduced risk. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) accurately characterizes the exploitation profile: local access, low complexity, low privilege, no user interaction, and high confidentiality impact to the vulnerable system. Real-world risk is elevated in multi-user environments, shared hosting, containerized deployments with multiple service accounts, or CI/CD runners - any context where more than one OS-level identity runs on the same host. The HMAC secret exposure is the higher-severity sub-impact: it enables a local attacker to forge webhook requests, creating an integrity path not directly reflected in the CVSS VI:N score. EPSS data is not provided in the input and cannot be quantified from available intelligence. KEV status is not confirmed. No POC code has been identified. For single-user deployments or systems where Hermes Agent runs under a dedicated isolated account, practical risk is reduced, but the severity of HMAC key exposure warrants urgent remediation regardless. |
| Exploit ScenarioDerived | A local user on a shared Linux server running Hermes Agent executes 'sqlite3 /path/to/response_store.db .dump' to extract the full conversation database, recovering conversation history, tool payloads, and prompt content. The attacker then reads webhook_subscriptions.json to obtain per-route HMAC keys, uses them to compute a valid HMAC-SHA256 signature over a crafted payload, and delivers a forged webhook request to the Hermes Agent instance - triggering unauthorized tool executions or configuration changes as if originating from a trusted webhook source. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Insecure default file permissions (mode 0o644) in Hermes Agent before v0.16.0 expose two sensitive data files - response_store.db and webhook_subscriptions.json - to any local user on the host system, enabling direct extraction of conversation history, tool payloads, prompts, and per-route HMAC webhook secrets. Any locally authenticated user on the same host can read these files without elevated privileges. HMAC secret exposure is particularly severe because it enables forging authenticated webhook requests, extending impact beyond passive information disclosure into potential privilege escalation - consistent with the 'Privilege Escalation' tag in the intelligence record. No public exploit has been identified at time of analysis, and this is not currently listed in CISA KEV.
RemediationAI
Upgrade to Hermes Agent v0.16.0 (v2026.6.5), which resolves the issue via commit 3bace071bfadf2d2bec2ee048471a31ec920e3e8 incorporated through PRs #30917 and #31469; the release is available at https://github.com/NousResearch/hermes-agent/releases/tag/v2026.6.5. If immediate upgrade is not possible, manually restrict permissions on the affected files by running 'chmod 0600 response_store.db webhook_subscriptions.json' - this removes group and other read access, limiting reads to the owning user only; note that this is a compensating control only and will be overwritten if the application recreates the files on next start without the fix applied. Any per-route HMAC secrets stored in webhook_subscriptions.json should be rotated immediately following disclosure, as any local user who read the file before remediation may retain copies. Deploying Hermes Agent under a dedicated, non-shared service account (with no other interactive users sharing that UID or group) reduces the attack surface while patching is scheduled.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hermes Agent is an AI agent platform developed by NousResearch (CPE: cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*) that provides conversational AI capabilities with webhook integration and tool-use support. The root cause is CWE-276 (Incorrect Default Permissions): when the application initializes its data layer, it creates response_store.db (a SQLite database containing conversation history, tool payloads, and prompts) and webhook_subscriptions.json (containing per-route HMAC secrets used to authenticate inbound webhook calls) with POSIX mode 0o644. On Linux and macOS, this grants world-read permissions - any user on the system may open and read these files without any privilege escalation. The HMAC secrets stored in webhook_subscriptions.json are used for message authentication on inbound webhook routes; their disclosure allows an attacker to compute valid HMAC signatures and send forged webhook payloads indistinguishable from legitimate ones.
Know when Hermes Agent gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local filesystem access with low-privilege account required; high confidentiality impact from HMAC and conversation data; no integrity or availability impact from the permission flaw itself.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Hermes Agent before 0.16.0 creates response_store.db and webhook_subscriptions.json with world-readable permissions (mode 0o644), exposing conversation history and HMAC secrets to local users. Attackers with local filesystem access can read these files directly to obtain sensitive data including conversation history, tool payloads, prompts, and per-route HMAC secrets.
Blast Radius
ecosystem impact- 1 pypi packages depend on hermes-agent (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 0.16.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
More in Hermes Agent
View allRemote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary
Remote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands
Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the
Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass
Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula
Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker
Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _comp
Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t
Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t
Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB