<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hermes-Agent (2026.4.23) — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/hermes-agent-2026.4.23/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 26 May 2026 13:46:26 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/hermes-agent-2026.4.23/feed.xml" rel="self" type="application/rss+xml"/><item><title>NousResearch hermes-agent Injection Vulnerability (CVE-2026-9366)</title><link>https://feed.craftedsignal.io/briefs/2026-05-nousresearch-injection/</link><pubDate>Tue, 26 May 2026 13:46:26 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-nousresearch-injection/</guid><description>A remote injection vulnerability exists in NousResearch hermes-agent 2026.4.23 within the _scan_context_content function of the agent/prompt_builder.py file, allowing attackers to inject malicious code.</description><content:encoded><![CDATA[<p>A vulnerability, identified as CVE-2026-9366, has been discovered in NousResearch hermes-agent version 2026.4.23. This injection vulnerability resides within the _scan_context_content function located in the agent/prompt_builder.py file. The vulnerability can be exploited remotely, and publicly available exploits exist. The vendor was contacted about the disclosure but did not respond. This vulnerability matters because it allows attackers to inject malicious code into the application potentially leading to arbitrary code execution.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a vulnerable instance of NousResearch hermes-agent running version 2026.4.23.</li>
<li>Attacker crafts a malicious input string designed to exploit the injection vulnerability in the <code>_scan_context_content</code> function.</li>
<li>Attacker sends the crafted input to the vulnerable function, potentially through a network request or API call.</li>
<li>The <code>_scan_context_content</code> function fails to properly neutralize special elements within the input, leading to code injection.</li>
<li>The injected code is executed within the context of the hermes-agent application.</li>
<li>The attacker gains control over parts of the application.</li>
<li>The attacker escalates privileges within the application.</li>
<li>The attacker achieves arbitrary code execution on the server.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-9366 can allow an attacker to execute arbitrary code on the server running NousResearch hermes-agent. The affected version is 2026.4.23. Given the nature of injection vulnerabilities, it&rsquo;s plausible that attackers could leverage this to gain full control over the system, potentially leading to data breaches, service disruption, or further lateral movement within the network.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade NousResearch hermes-agent to a patched version that addresses CVE-2026-9366 (no version available).</li>
<li>Implement input validation and sanitization for the <code>_scan_context_content</code> function in <code>agent/prompt_builder.py</code> to prevent injection attacks.</li>
<li>Monitor network traffic for suspicious patterns and payloads targeting the hermes-agent application.</li>
<li>Deploy the Sigma rules provided below to your SIEM to detect potential exploitation attempts of CVE-2026-9366.</li>
<li>Enable and review application logs for anomalies related to the <code>_scan_context_content</code> function.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cve</category><category>injection</category><category>hermes-agent</category></item></channel></rss>