CVE-2026-10548: hermes-agent: auth bypass exposes Anthropic API credentials
MEDIUMNousResearch hermes-agent contains an improper authentication flaw (CWE-287) in its credential pool synchronization component — specifically in `_sync_anthropic_entry_from_credentials_file` — allowing a low-privileged local attacker to bypass access controls and read Anthropic API credentials from the agent's credential pool. While the local-only attack vector limits direct internet exposure, AI agent frameworks deployed on shared developer workstations or CI/CD runners represent a realistic lateral movement target where credential theft enables API cost harvesting, unauthorized LLM access, and potential data exfiltration from AI workflows. A proof-of-concept exploit is already public on GitHub and the vendor has not responded to disclosure, meaning there is no official patch or remediation timeline. Organizations using hermes-agent should rotate all associated Anthropic API keys immediately, restrict credential file permissions, and avoid running hermes-agent on shared infrastructure until a patched release is confirmed.
What is the risk?
Medium risk overall, but elevated for AI-heavy environments. The CVSS 5.3 score reflects the local-only attack vector (AV:L), which substantially limits the exploitable surface. However, three compounding factors increase residual risk: low attack complexity (AC:L) and low privileges required (PR:L) make exploitation trivial once local access exists; a public PoC exploit lowers the attacker skill threshold to near-zero; and the vendor's non-response to disclosure eliminates any official remediation path, leaving the vulnerability open-ended. Organizations running hermes-agent alongside high-value AI infrastructure — particularly those where API keys grant access to large-context or high-throughput model tiers — should treat this as above-average risk due to the credential pivoting potential.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| hermes-agent | — | — | No patch |
Do you use hermes-agent? You're affected.
How severe is it?
What is the attack surface?
What should I do?
7 steps-
Rotate all Anthropic API keys associated with any hermes-agent deployment immediately — treat existing keys as potentially compromised.
-
Restrict filesystem permissions on credential files consumed by
credential_pool.pyto owner-only (chmod 600, dedicated service account). -
Audit Anthropic API usage dashboards for anomalous request volumes, unusual access patterns, or unexpected cost spikes that may indicate active credential abuse.
-
Isolate hermes-agent processes in single-tenant environments with strict OS-level least-privilege accounts and no shared credential stores.
-
Do not deploy hermes-agent on shared CI/CD runners or developer workstations that also store other sensitive credentials until NousResearch releases a patched version beyond 2026.4.23.
-
Set Anthropic API spending limits and enable usage anomaly notifications to detect cost harvesting in early stages.
-
Monitor the NousResearch hermes-agent GitHub repository for a patched release and apply immediately when available.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-10548?
NousResearch hermes-agent contains an improper authentication flaw (CWE-287) in its credential pool synchronization component — specifically in `_sync_anthropic_entry_from_credentials_file` — allowing a low-privileged local attacker to bypass access controls and read Anthropic API credentials from the agent's credential pool. While the local-only attack vector limits direct internet exposure, AI agent frameworks deployed on shared developer workstations or CI/CD runners represent a realistic lateral movement target where credential theft enables API cost harvesting, unauthorized LLM access, and potential data exfiltration from AI workflows. A proof-of-concept exploit is already public on GitHub and the vendor has not responded to disclosure, meaning there is no official patch or remediation timeline. Organizations using hermes-agent should rotate all associated Anthropic API keys immediately, restrict credential file permissions, and avoid running hermes-agent on shared infrastructure until a patched release is confirmed.
Is CVE-2026-10548 actively exploited?
No confirmed active exploitation of CVE-2026-10548 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-10548?
1. Rotate all Anthropic API keys associated with any hermes-agent deployment immediately — treat existing keys as potentially compromised. 2. Restrict filesystem permissions on credential files consumed by `credential_pool.py` to owner-only (chmod 600, dedicated service account). 3. Audit Anthropic API usage dashboards for anomalous request volumes, unusual access patterns, or unexpected cost spikes that may indicate active credential abuse. 4. Isolate hermes-agent processes in single-tenant environments with strict OS-level least-privilege accounts and no shared credential stores. 5. Do not deploy hermes-agent on shared CI/CD runners or developer workstations that also store other sensitive credentials until NousResearch releases a patched version beyond 2026.4.23. 6. Set Anthropic API spending limits and enable usage anomaly notifications to detect cost harvesting in early stages. 7. Monitor the NousResearch hermes-agent GitHub repository for a patched release and apply immediately when available.
What systems are affected by CVE-2026-10548?
This vulnerability affects the following AI/ML architecture patterns: AI agent frameworks, LLM API integration pipelines, CI/CD pipelines with AI agent automation, Developer workstations with local AI tooling, Multi-tenant AI development environments.
What is the CVSS score for CVE-2026-10548?
CVE-2026-10548 has a CVSS v3.1 base score of 5.3 (MEDIUM).
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012 Valid Accounts AML.T0034 Cost Harvesting AML.T0055 Unsecured Credentials AML.T0083 Credentials from AI Agent Configuration AML.T0106 Exploitation for Credential Access Compliance Controls Affected
What are the technical details?
Original Advisory
A security flaw has been discovered in NousResearch hermes-agent up to 2026.4.23. This affects the function _sync_anthropic_entry_from_credentials_file of the file agent/credential_pool.py of the component Credential Pool Synchronization. The manipulation results in improper authentication. The attack must be initiated from a local position. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Exploitation Scenario
An attacker who has gained low-privileged access to a developer workstation running hermes-agent — via a malicious pip package in the AI development environment, phishing, or lateral movement from a compromised adjacent host — downloads the public PoC exploit from the GitHub gist reference and executes it locally. The exploit targets the authentication bypass in `_sync_anthropic_entry_from_credentials_file` within `agent/credential_pool.py`, reading Anthropic API credentials from the credential pool without triggering proper access controls. The attacker exfiltrates the extracted API keys to an external system and begins making high-volume LLM API calls against the victim's account — consuming paid quota (cost harvesting), processing attacker-controlled inputs to extract sensitive model behavior, or pivoting into other internal services that trust the same credentials. The attack leaves minimal forensic traces if the victim lacks API-level audit logging.
Weaknesses (CWE)
CWE-287 — Improper Authentication: When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- [Architecture and Design] Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R References
- gist.github.com/YLChen-007/caf38652afeccbbd53a9d77152b6198d exploit
- vuldb.com/cve/CVE-2026-10548 third-party-advisory
- vuldb.com/submit/822026 third-party-advisory
- vuldb.com/vuln/367645 vdb-entry technical-description
- vuldb.com/vuln/367645/cti signature permissions-required
Timeline
Related Vulnerabilities
CVE-2026-21858 10.0 n8n: Input Validation flaw enables exploitation
Same attack type: Data Extraction CVE-2025-53767 10.0 Azure OpenAI: SSRF EoP, no auth required (CVSS 10)
Same attack type: Data Extraction CVE-2023-3765 10.0 MLflow: path traversal allows arbitrary file read
Same attack type: Data Extraction CVE-2025-2828 10.0 LangChain RequestsToolkit: SSRF exposes cloud metadata
Same attack type: Data Extraction GHSA-vvpj-8cmc-gx39 10.0 picklescan: security flaw enables exploitation
Same attack type: Auth Bypass