CVE-2026-9366
MEDIUM 5.5CVSS 4.0hermes-agent has an Injection issue
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.
- Published
- 24 May 2026
- Last modified
- 23 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Deferred
- Weakness
- CWE-74
- Also known as
- GHSA-pgp4-xr4j-h5cgPYSEC-2026-2514
- Sources
- NVDJSONOSV GHSA-pgp4-xr4j-h5cgJSONOSV PYSEC-2026-2514JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 5.5 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | hermes-agent | < 0.15.0 | 0.15.0 |
References
- https://gist.github.com/YLChen-007/581fd92de5548fbaacb2092e848a75cc · WEB
- https://vuldb.com/submit/812227 · WEB
- https://vuldb.com/vuln/365329 · WEB
- https://vuldb.com/vuln/365329/cti · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-9366 · ADVISORY
- https://github.com/NousResearch/hermes-agent/commit/0dee92df22bdc0cfbcad90ca954aa14916f018de · WEB
- https://github.com/NousResearch/hermes-agent · PACKAGE
- https://pypi.org/project/hermes-agent · PACKAGE
- https://github.com/advisories/GHSA-pgp4-xr4j-h5cg · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 May 2026)