Home / NousResearch / hermes-agent / CVE-2026-9366
CVE-2026-9366: is it exploited, and which versions of NousResearch hermes-agent are affected and fixed?
CVE-2026-9366 is an injection vulnerability in NousResearch hermes-agent. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: hermes-agent before 0.15.0 (GitHub advisory GHSA-pgp4-xr4j-h5cg). Fixed in 0.15.0 (GitHub advisory GHSA-pgp4-xr4j-h5cg). Severity: Medium (6.9, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-9366?
NousResearch hermes-agent prompt_builder.py _scan_context_content injection
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.
From the CVE record by VulDB, last updated May 27, 2026, 17:27 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NousResearch | hermes-agent | 2026.4.23 |
As the CVE record by VulDB states it, last updated May 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | hermes-agent | < 0.15.0 | 0.15.0 | GHSA-pgp4-xr4j-h5cg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 30, 2026. Summary: hermes-agent has an Injection issue.
How severe is CVE-2026-9366?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | 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 |
| High 7.3 | 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 |
| High 7.3 | 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 |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9366 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 27, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 25.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-707 Improper Neutralization
Where are the vendor advisories and references?
- VDB-365329 | NousResearch hermes-agent prompt_builder.py _scan_context_content injection vdb-entry, technical-description
- VDB-365329 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #812227 | NousResearch hermes-agent 2026.4.23 Injection (CWE-74) third-party-advisory
- https://gist.github.com/YLChen-007/581fd92de5548fbaacb2092e848a75cc exploit
Who found and reported it?
- Eric-i (VulDB User) (reporter)
- VulDB CNA Team (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 23, 2026
- Published
- May 24, 2026, 08:15 UTC
- CVE record updated
- May 27, 2026, 17:27 UTC by VulDB
- NVD
- Deferred, last modified July 23, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect hermes-agent?
- Dec 1, 2026CVE-2026-140425 NousResearch hermes-agent: missing Origin Validation in WebSockets
- Nov 23, 2026CVE-2026-130164 NousResearch hermes-agent: external Control of System or Configuration Setting
- Sep 3, 2026CVE-2026-71963 NousResearch hermes-agent: OS command injection
- Sep 3, 2026CVE-2026-85107 NousResearch hermes-agent: denial of service (resources allocated without limits)
- Sep 3, 2026CVE-2026-85106 NousResearch hermes-agent: server-side request forgery (SSRF)
- Sep 3, 2026CVE-2026-85105 NousResearch hermes-agent: authorization bypass through a user-controlled key (IDOR)
- Sep 1, 2026CVE-2026-84289 NousResearch hermes-agent: memory Allocation with Excessive Size Value
- Sep 1, 2026CVE-2026-84288 NousResearch hermes-agent: resource not released
Questions about CVE-2026-9366
Is CVE-2026-9366 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of NousResearch hermes-agent are affected by CVE-2026-9366?
hermes-agent before 0.15.0, per the GitHub advisory GHSA-pgp4-xr4j-h5cg. The tables above give every range the sources list.
Which version fixes CVE-2026-9366?
0.15.0, per the GitHub advisory GHSA-pgp4-xr4j-h5cg. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9366?
Medium (6.9, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9366?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.