6.9medium
NousResearch hermes-agent run_agent.py _compress_context injection
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.30% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-xq8w-9jvx-gm3vPYSEC-2026-3577
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
| Product or package | Versions | Reported by |
|---|---|---|
| NousResearch hermes-agent | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 and 4 more | CVE List |
| hermes-agent (PyPI) | up to 0.19.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| VulDB | 6.9medium CVSS:4.0 | 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 |
| VulDB | 7.3high CVSS:3.1 | 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 |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 7.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | 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 |
| PyPA Advisory Database | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue identificada en NousResearch hermes-agent hasta 0.12.0. Afectada por esta vulnerabilidad es la función _compress_context del archivo run_agent.py. La manipulación conduce a inyección. Es posible iniciar el ataque remotamente. El exploit está disponible públicamente y podría ser utilizado. El proveedor fue contactado temprano sobre esta divulgación pero no respondió de ninguna manera.
References
| https://vuldb.com/vuln/367500 | technical-description, vdb-entry, web | |
| https://vuldb.com/vuln/367500/cti | permissions-required, signature, web | |
| https://vuldb.com/cve/CVE-2026-10221 | third-party-advisory, web | |
| https://vuldb.com/submit/822019 | exploit, third-party-advisory, web | |
| https://gist.github.com/YLChen-007/d343fcfe2c009cd45f56dc475fd5ac03 | exploit, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-10221 | advisory | |
| https://github.com/NousResearch/hermes-agent/issues/26979 | web | |
| https://github.com/NousResearch/hermes-agent/pull/69860 | web | |
| https://github.com/NousResearch/hermes-agent/commit/2ca38e5df43411afe11aedfc34bfd71a2eecd4bb | web | |
| https://github.com/NousResearch/hermes-agent | package | |
| https://pypi.org/project/hermes-agent | package | |
| https://github.com/advisories/GHSA-xq8w-9jvx-gm3v | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-10221 changed 2026-06-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xq8w-9jvx-gm3v changed 2026-08-04 | CC-BY-4.0 |
| NVD | CVE-2026-10221 changed 2026-07-22 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3577 changed 2026-08-04 | CC-BY-4.0 |