Read the docs
TI-2026-08216 Aliases CVE-2026-9366GHSA-pgp4-xr4j-h5cg

NousResearch hermes-agent prompt_builder.py _scan_context_content injection

Priority HIGH 70CWE-707Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00305 23rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed hermes-agent (PyPI): 0.15.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
NousResearchhermes-agent2026.4.23—No fix listedCNA
—hermes-agent (PyPI)before 0.15.00.15.0Patch availableGHSA-pgp4-xr4j-h5cg
  • hermes-agent VendorNousResearch Affected 2026.4.23 Fixed in — No fix listed CNA
  • hermes-agent (PyPI) Vendor— Affected before 0.15.0 Fixed in 0.15.0 Patch available GHSA-pgp4-xr4j-h5cg

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*——NousResearch
  • cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* Versions — — ·NousResearch

Remediation

  • Fix · GHSA-pgp4-xr4j-h5cg hermes-agent (PyPI) Fixed in 0.15.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-9366
  2. 2026-10-03 Alias added: GHSA-pgp4-xr4j-h5cg

References

  • TI-2026-50258 Hermes Agent 0.18.2 - 0.21.0 RCE via git core.fsmonitor Config Injection CVSS 4.0HIGH 8.6
  • TI-2026-12325 NousResearch hermes-agent Live Webhook Endpoint base.py extract_media path traversal CVSS 4.0MEDIUM 6.9
  • TI-2026-08962 NousResearch hermes-agent Webhook Endpoint feishu.py _handle_webhook_request resource consumption CVSS 4.0MEDIUM 6.9
  • TI-2026-08959 NousResearch hermes-agent run_agent.py _compress_context injection CVSS 4.0MEDIUM 6.9
  • TI-2026-08958 NousResearch hermes-agent skills_tool.py skill_view injection CVSS 4.0MEDIUM 6.9
  • TI-2026-08218 NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox CVSS 4.0MEDIUM 6.9
See all 44 →

Sources