<?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 (&lt;= 2026.4.16) — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/hermes-agent--2026.4.16/</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:59 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/hermes-agent--2026.4.16/feed.xml" rel="self" type="application/rss+xml"/><item><title>NousResearch hermes-agent Sandbox Vulnerability (CVE-2026-9368)</title><link>https://feed.craftedsignal.io/briefs/2026-05-cve-2026-9368/</link><pubDate>Tue, 26 May 2026 13:46:59 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-cve-2026-9368/</guid><description>A vulnerability in NousResearch hermes-agent up to version 2026.4.16 allows for remote exploitation of the execute_code function, leading to a sandbox escape.</description><content:encoded><![CDATA[<p>A remote code execution vulnerability, identified as CVE-2026-9368, exists in NousResearch hermes-agent versions up to 2026.4.16. The vulnerability resides within the <code>execute_code</code> function of the <code>tools/code_execution_tool.py</code> file, specifically affecting the Environment Variable Handler component. A publicly available exploit allows for remote attackers to bypass the intended sandbox restrictions. The vendor, NousResearch, was contacted but did not respond to the disclosure. This vulnerability poses a significant risk as it allows attackers to execute arbitrary code outside of the intended hermes-agent sandbox.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a vulnerable hermes-agent instance running a version up to 2026.4.16.</li>
<li>The attacker crafts a malicious request targeting the <code>execute_code</code> function in <code>tools/code_execution_tool.py</code>.</li>
<li>The request exploits the vulnerability in the Environment Variable Handler component.</li>
<li>The vulnerability allows the attacker to manipulate environment variables in a way that bypasses sandbox restrictions.</li>
<li>The attacker injects arbitrary code into the environment, leveraging the compromised environment variables.</li>
<li>The <code>execute_code</code> function executes the injected code, now running outside the intended sandbox.</li>
<li>The attacker gains unauthorized access to the underlying system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-9368 allows a remote attacker to bypass the sandbox restrictions of hermes-agent, leading to arbitrary code execution on the host system. This can result in complete system compromise, data theft, or denial of service. The vulnerability is remotely exploitable and has a publicly available exploit, increasing the likelihood of exploitation.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Monitor network traffic for requests targeting the <code>execute_code</code> function in <code>tools/code_execution_tool.py</code> to detect potential exploitation attempts using the Sigma rule provided.</li>
<li>Implement input validation and sanitization for environment variables to mitigate the vulnerability in the Environment Variable Handler component.</li>
<li>Apply network segmentation to limit the impact of a successful sandbox escape.</li>
<li>Monitor process creation events for suspicious processes spawned by the hermes-agent process to detect potential post-exploitation activity using the Sigma rule provided.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>sandbox-escape</category><category>remote-code-execution</category><category>cve</category></item><item><title>NousResearch hermes-agent Missing Authorization Vulnerability (CVE-2026-9350)</title><link>https://feed.craftedsignal.io/briefs/2026-05-cve-2026-9350-hermes-agent-auth-bypass/</link><pubDate>Tue, 26 May 2026 13:44:22 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-cve-2026-9350-hermes-agent-auth-bypass/</guid><description>A missing authorization vulnerability (CVE-2026-9350) exists in NousResearch hermes-agent up to version 2026.4.16, affecting the `check_all_command_guards` function in `tools/approval.py` of the Batch Runner component, enabling remote attackers to bypass authorization checks.</description><content:encoded><![CDATA[<p>A missing authorization vulnerability, identified as CVE-2026-9350, affects NousResearch hermes-agent up to version 2026.4.16. The flaw resides within the <code>check_all_command_guards</code> function in the <code>tools/approval.py</code> file, a part of the Batch Runner component. Successful exploitation of this vulnerability allows remote attackers to bypass authorization checks, potentially leading to unauthorized command execution or data access. Publicly available exploit code exists, increasing the risk of exploitation. The vendor was notified but has not responded. This vulnerability was published on 2026-05-24.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies a vulnerable hermes-agent instance running a version prior to 2026.4.16.</li>
<li>The attacker crafts a malicious request targeting the Batch Runner component.</li>
<li>The request is designed to invoke functionality that relies on the <code>check_all_command_guards</code> function.</li>
<li>Due to the missing authorization check, the attacker bypasses the intended access controls.</li>
<li>The attacker executes unauthorized commands or accesses restricted data within the Batch Runner component.</li>
<li>The attacker leverages the unauthorized access to escalate privileges or gain further control over the system.</li>
<li>The attacker may install malware, exfiltrate sensitive data, or disrupt services.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-9350 can lead to unauthorized access to sensitive data, execution of arbitrary commands, and potential system compromise. This can result in data breaches, service disruption, and reputational damage. The fact that the exploit is publicly available increases the likelihood of widespread exploitation.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade NousResearch hermes-agent to a version later than 2026.4.16 to remediate CVE-2026-9350.</li>
<li>Monitor network traffic for suspicious requests targeting the Batch Runner component of hermes-agent using the &ldquo;Detect Suspicious Hermes-Agent Batch Runner Requests&rdquo; Sigma rule.</li>
<li>Deploy the &ldquo;Detect Unauthorized Command Execution via Hermes-Agent&rdquo; Sigma rule to identify potential exploitation attempts.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cve</category><category>authorization</category><category>hermes-agent</category></item></channel></rss>