CVE-2026-9366 NousResearch hermes-agent prompt_builder.py _scan_context_content injection
MediumCVSS 6.9
EPSS 0.31%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
A vulnerability was found in NousResearch hermes-agent 2026.4.23. The impacted element is the function _scan_context_content of the file agent/prompt_builder.py. The manipulation results in injection. The attack may be performed from remote. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi hermes-agent(PyPI) | < 0.15.0; = 0.13.0; = 0.14.0 | 0.15.0 | Fixed |
| nousresearch/hermes-agent | = 2026.4.23 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi hermes-agent(PyPI) | < 0.15.0 | 0.15.0 |
| pypi hermes-agent(PyPI) | = 0.13.0 | No fix listed |
| pypi hermes-agent(PyPI) | = 0.14.0 | No fix listed |
| nousresearch/hermes-agent | = 2026.4.23 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- gist.github.com exploit
- github.com product
- Submit #812227 | NousResearch hermes-agent 2026.4.23 Injection (CWE-74) third-party-advisory
- VDB-365329 | NousResearch hermes-agent prompt_builder.py _scan_context_content injection technical-description vdb-entry
- VDB-365329 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- pypi.org product
- github.com vendor-advisory