Skip to main content

Hermes Agent CVE-2026-10221

| EUVDEUVD-2026-33554 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-06-01 VulDB GHSA-xq8w-9jvx-gm3v
5.5
CVSS 4.0 · Vendor: VulDB
Share

Severity by source

Vendor (VulDB) PRIMARY
5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Severity Changed
Jun 01, 2026 - 04:22 NVD
HIGH MEDIUM
CVSS changed
Jun 01, 2026 - 04:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)
Analysis Generated
Jun 01, 2026 - 04:21 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 13 pypi packages depend on hermes-agent (13 direct, 1 indirect)

Ecosystem-wide dependent count for version 0.19.0.

DescriptionCVE.org

A vulnerability was identified in NousResearch hermes-agent up to 0.12.0. Affected by this vulnerability is the function _compress_context of the file run_agent.py. The manipulation leads to injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.

AnalysisAI

Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _compress_context function within run_agent.py (CWE-74). Publicly available exploit code exists and the issue is remotely triggerable without authentication per the CVSS vector, though impact is bounded to Low across confidentiality, integrity, and availability. The vendor was contacted but did not respond, leaving downstream users without an official fix at time of analysis.

Technical ContextAI

Hermes Agent is an LLM-based autonomous agent framework from NousResearch; the affected logic resides in run_agent.py within _compress_context, a routine responsible for summarizing or compressing accumulated context (likely tool outputs, memory, or conversation history) before it is reinjected into the model loop. CWE-74 (Improper Neutralization of Special Elements - Injection) indicates that attacker-influenced data flows into a downstream interpreter (a prompt, shell, eval, or templating layer) without sufficient sanitization. In agent frameworks this class of bug typically enables prompt injection or command/code injection through poisoned context that the agent later acts upon. CPE coverage is cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*, indicating all versions up to and including 0.12.0 are in scope.

RemediationAI

No vendor-released patch identified at time of analysis; the vendor was reportedly contacted but did not respond. Operators should monitor the NousResearch Hermes Agent repository for a fixed release and, in the interim, audit and harden _compress_context in run_agent.py by strictly validating, escaping, or stripping control tokens, delimiters, and instruction-like substrings from any external content (tool outputs, retrieved documents, user messages) before it is concatenated into the compressed context that is fed back to the LLM or to any downstream interpreter. Compensating controls include restricting which tools and data sources the agent can ingest (disable web fetching or untrusted retrieval connectors - trade-off: reduced agent capability), running the agent under a least-privileged service account and sandbox so any code-execution side effect of injection is contained (trade-off: deployment complexity), and gating outbound actions behind human-in-the-loop confirmation (trade-off: throughput). Consult VulDB at https://vuldb.com/vuln/367500 and the PoC at https://gist.github.com/YLChen-007/d343fcfe2c009cd45f56dc475fd5ac03 to derive concrete sanitization rules.

CVE-2026-71963 HIGH POC
8.6 Sep 03

Remote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary

CVE-2026-9367 MEDIUM POC
5.5 May 24

Remote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands

CVE-2026-14628 MEDIUM POC
5.5 Jul 04

Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the

CVE-2026-9351 MEDIUM POC
5.5 May 24

Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass

CVE-2026-9368 MEDIUM POC
5.5 May 24

Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula

CVE-2026-7396 MEDIUM POC
5.5 Apr 29

Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker

CVE-2026-10220 MEDIUM POC
5.5 Jun 01

Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t

CVE-2026-9366 MEDIUM POC
5.5 May 24

Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2026-9353 MEDIUM POC
5.5 May 24

Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t

CVE-2026-10224 MEDIUM POC
5.5 Jun 01

Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti

CVE-2026-9350 MEDIUM POC
5.5 May 24

Missing authorization in NousResearch hermes-agent versions up to 2026.4.16 allows remote attackers to bypass authentica

Share

CVE-2026-10221 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy