# CVE-2026-10221: NousResearch hermes-agent run_agent.py _compress_context injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-06-01T03:45:08.230Z
- Modified: 2026-08-04T14:40:34.728Z
- Also known as: GHSA-xq8w-9jvx-gm3v, PYSEC-2026-3577
- Weaknesses: CWE-74, CWE-707
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- NousResearch hermes-agent: 0.1; 0.2; 0.3; 0.4; 0.5; 0.6; 0.7; 0.8; 0.9; 0.10; 0.11; 0.12.0
- hermes-agent (PyPI): up to 0.19.0

## Every score

- VulDB: CVSS:4.0 6.9 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`
- VulDB: CVSS:3.1 7.3 High `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: CVSS:3.0 7.3 High `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: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`
- GitHub: CVSS:3.1 7.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 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`
- PyPA Advisory Database: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: 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`

## References

- <https://vuldb.com/submit/822019> (exploit, third-party-advisory, web)
- <https://gist.github.com/YLChen-007/d343fcfe2c009cd45f56dc475fd5ac03> (exploit, web)
- <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://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

- CVE List: [CVE-2026-10221](https://www.cve.org/CVERecord?id=CVE-2026-10221), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-xq8w-9jvx-gm3v](https://github.com/advisories/GHSA-xq8w-9jvx-gm3v), CC-BY-4.0, modified 2026-08-04
- NVD: [CVE-2026-10221](https://nvd.nist.gov/vuln/detail/CVE-2026-10221), Public domain, modified 2026-07-22
- PyPA Advisory Database: [PYSEC-2026-3577](https://osv.dev/vulnerability/PYSEC-2026-3577), CC-BY-4.0, modified 2026-08-04

---

Page: https://cve.day/CVE-2026-10221 · Whole record: https://cve.day/CVE-2026-10221.json · Rebuilt by cve.day 2026-11-25T22:59:23.406Z
