Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl or compromise agent message ingestion source
-
DeliveryCraft payload with path-normalized auth.json target
-
ExploitAgent file-write tool processes malicious message
-
ExecutionSensitive-path guard bypassed via path manipulation
-
Persistauth.json overwritten with attacker-controlled credentials
-
ImpactUnauthorized access to downstream services using planted credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK
2 techniques across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two concrete prerequisites: (1) the attacker must be able to inject or control content within messages ingested by the target Hermes Agent instance - viable attack surfaces include any platform integration the agent is configured to accept, such as Raft agent network messages, iMessage via the Photon plugin, or other external channel adapters; and (2) the agent must process (passively consume) the malicious message (UI:P in CVSS 4.0), meaning the attack is not fire-and-forget but depends on agent activity. The High attack complexity (AC:H) further limits exploitation to scenarios where the attacker can reliably influence the specific message stream the agent consumes. PR:N confirms no pre-existing authentication to the target system is required. Limiting factors include: agents configured to ingest only from fully trusted internal sources are substantially less exposed; agents running with OS-level write restrictions on auth.json are protected even if the path guard is bypassed; and the requirement for the agent to actively process the crafted message prevents purely passive or pre-authentication attacks. |
| Impact | The CVSS 4.0 score of 7.6 is driven by network accessibility (AV:N) and high confidentiality and integrity impact (VC:H/VI:H), tempered by high attack complexity (AC:H) and passive user interaction (UI:P). The AC:H constraint is significant: exploitation requires that the attacker control or corrupt a message source that the target Hermes Agent instance actively ingests, which is a non-trivial precondition. The UI:P metric indicates the agent must actually process the malicious message, reducing the automation potential. No KEV listing exists and no public exploit code has been identified at time of analysis; EPSS data was not provided in the intelligence package, so exploitation probability cannot be quantified numerically. Despite the lower immediate exploitation likelihood, the impact ceiling is high: overwriting auth.json grants the attacker control over all credentials stored by the agent, enabling lateral movement across every service the agent is authenticated to. Organizations using Hermes Agent with broad message ingestion surfaces - such as multi-user team deployments accepting input from Raft, iMessage, or other external channels - face meaningfully higher exposure than single-user local-only deployments. The patch is available and should be prioritized given the severity of the potential impact on credential integrity. |
| Exploit ScenarioDerived | An attacker with access to a message channel ingested by Hermes Agent - such as a compromised upstream Raft agent node or a maliciously crafted iMessage delivered via the Photon integration - sends a payload instructing the agent's file-write tool to write attacker-controlled content to a path that resolves to auth.json, bypassing the path exclusion guard through normalization inconsistency. The agent processes the message without triggering any alert, overwrites the credential store with attacker-chosen content, and the attacker subsequently authenticates to downstream services using the newly planted credentials. 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 – Aug 28, 2026
Credential store overwrite in NousResearch Hermes Agent versions 0.16.0 through pre-0.17.0 is achievable by any attacker who can inject content into messages ingested by the agent, exploiting a gap in the sensitive-path guard (CWE-552) that failed to properly exclude auth.json from the file-write tool's reachable paths. By crafting malicious message payloads, an attacker bypasses the path restriction and overwrites the credential store without triggering any protection, resulting in credential tampering and potential unauthorized access to all identities stored therein. No public exploit has been identified at time of analysis, and a vendor-released patch (v0.17.0) is available.
RemediationAI
Upgrade to Hermes Agent v0.17.0 (v2026.6.19), which contains fixes confirmed via patch commits da28d5d113956dcf803d5cff552a120740a96a59 and 2b67e96aec2aa2abd5e94b544cda8e564c75f9f5, referenced from https://github.com/NousResearch/hermes-agent/releases/tag/v2026.6.19 and associated GitHub PR #45821. If immediate upgrade is not feasible, restrict the agent's message ingestion to fully trusted, internally controlled sources only, eliminating external channels (Raft, iMessage/Photon, third-party integrations) until patched - note this disables legitimate agent functionality. As a secondary compensating control, apply OS-level file permissions or mandatory access control policies (AppArmor, SELinux) to prevent the Hermes Agent process from writing to auth.json; be aware this may break credential update workflows that depend on legitimate writes to the credential store. Full advisory details are available at https://www.vulncheck.com/advisories/hermes-agent-credential-store-overwrite-via-file-write-tool.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 by NousResearch that ingests messages from external channels (including iMessage via Photon, the Raft agent network, and other platform integrations) and exposes file-write tooling for agent operations. The root cause is CWE-552 (Files or Directories Accessible to External Parties): the sensitive-path guard intended to block writes to auth.json failed to canonicalize or normalize attacker-supplied paths, allowing bypass via crafted path strings that resolve to the credential store location. The CPE cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* covers all affected releases prior to 0.17.0. The vulnerability is classified under tags including Path Traversal and Authentication Bypass, consistent with path normalization failures enabling access to otherwise protected files.
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:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-delivered via message ingestion with no authentication required, but high complexity and required user interaction (agent must process the crafted message); credential store overwrite yields high C and I with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Hermes Agent 0.16.0 prior to 0.17.0 contains an improper path restriction vulnerability that allows attackers who can influence ingested message content to overwrite the credential store by bypassing sensitive-path guards that excluded the auth.json file. Attackers can craft malicious messages directing the agent's file-write tooling to overwrite the credential store without triggering any path-based protection, enabling credential tampering or unauthorized access.
Technical POC Analysis
Bug class: CWE-552 (files/directories reachable by an external party), manifesting here as an incomplete denylist in the agent's command-approval guard.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
NousResearch Hermes Agent versions 0.16.0 through pre-0.17.0 contain a credential store overwrite vulnerability exploitable through message injection that allows attackers to corrupt authentication credentials without triggering protections. Affected organizations risk unauthorized access to all stored identities and potential lateral movement to downstream systems. A vendor-released patch (v0.17.0) is available; no public exploit has been identified at time of analysis.
Apply vendor patch.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
EUVD-2026-67866
GHSA-rrm3-x23q-98qc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB