HIGH7.3
PYSEC-2026-2509
hermes-agent has an Injection issue
Quick fix
PYSEC-2026-2509 — hermes-agent: upgrade to the fixed version with the command below.
pip install --upgrade 'hermes-agent>=0.15.0'Details
A security vulnerability has been detected in NousResearch hermes-agent up to 2026.4.23. Impacted is an unknown function of the file agent/skills_guard.py of the component Skills Guard Multi-Word Prompt Handler. The manipulation of the argument THREAT_PATTERNS leads to injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9353[ADVISORY]
- https://github.com/NousResearch/hermes-agent/pull/26852[WEB]
- https://github.com/NousResearch/hermes-agent/commit/7ebebfbb8d10937cbf2219b4cf5e121b71e67428[WEB]
- https://gist.github.com/YLChen-007/82a3539d6358842e69dfaef0a9fcf14a[WEB]
- https://github.com/NousResearch/hermes-agent[PACKAGE]
- https://vuldb.com/submit/812216[WEB]
- https://vuldb.com/vuln/365316[WEB]
- https://vuldb.com/vuln/365316/cti[WEB]
- https://pypi.org/project/hermes-agent[PACKAGE]
- https://github.com/advisories/GHSA-238w-f66p-w349[ADVISORY]