Vulnerability · Published Jun 1, 2026 · Assigned by VulDB
CVE-2026-10221NousResearch hermes-agent run_agent.py _compress_context injection
High 7.3
In plain English
A high-severity injection in hermes-agent from NousResearch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | hermes-agent | no fix listed | GHSA-xq8w-9jvx-gm3v |
| PyPI | hermes-agent | no fix listed | PYSEC-2026-3577 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NousResearch | hermes-agent | 0.10.20.30.40.50.60.70.8 |
Weakness: CWE-74, CWE-707 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-367500 | NousResearch hermes-agent run_agent.py _compress_context injection vdb-entry, technical-description
- VDB-367500 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- CVE-2026-10221 | CVE Analysis and Report third-party-advisory
- Submit #822019 | NousResearch hermes-agent <= 0.12.0 Injection (CWE-74) third-party-advisory
- https://gist.github.com/YLChen-007/d343fcfe2c009cd45f56dc475fd5ac03 exploit