CVE-2026-10221 Details
Description
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.
A prompt injection vulnerability has been identified in NousResearch hermes-agent versions through 0.12.0. The issue arises in the '_compress_context' function of 'run_agent.py', where unsanitized todo item content is injected into the conversation as a user message. This vulnerability can be exploited remotely, allowing an attacker to override system instructions, exfiltrate sensitive data, abuse the agent's tools, and maintain control across multiple sessions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 1, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://vuldb.com/submit/822019 | CISA-ADP | Issue TrackingPermission Required |
| https://gist.github.com/YLChen-007/d343fcfe2c009cd45f56dc475fd5ac03 | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-10221 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/822019 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/367500 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/367500/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-707 | Improper Neutralization | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NousResearch hermes-agent | <= 0.12.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2026 | CVE Modified | CISA-ADP |
| Jun 1, 2026 | New CVE Received | [email protected] |
Volerion