CVE-2026-9368: Sandbox Issue in NousResearch hermes-agent
CVE-2026-9368 is a medium severity vulnerability in NousResearch hermes-agent up to version 2026.4.16. It affects the execute_code function in tools/code_execution_tool.py within the Environment Variable Handler component, leading to a sandbox issue. The vulnerability can be exploited remotely and a public exploit is available. The vendor has not responded to disclosure and no official fix or patch is currently known.
AI Analysis
Technical Summary
This vulnerability in NousResearch hermes-agent (versions =2026.4.0 through =2026.4.16) involves the execute_code function of the tools/code_execution_tool.py file in the Environment Variable Handler component. The issue results in a sandbox bypass or sandbox issue, allowing remote attackers to potentially execute code outside the intended restricted environment. Exploits are publicly available, increasing the risk of exploitation. The vendor has not provided any response or remediation guidance, and no patch or official fix is currently documented.
Potential Impact
The vulnerability allows remote attackers to bypass sandbox restrictions in the hermes-agent, potentially enabling unauthorized code execution or manipulation outside the intended sandbox environment. This could lead to compromise of the host system or unauthorized actions performed by the agent. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
No official fix or patch is currently available from the vendor, and the vendor has not responded to disclosure. Users should monitor vendor communications for updates. Until a patch is released, consider restricting network exposure of the hermes-agent service and applying compensating controls to limit potential exploitation. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-9368: Sandbox Issue in NousResearch hermes-agent
Description
CVE-2026-9368 is a medium severity vulnerability in NousResearch hermes-agent up to version 2026.4.16. It affects the execute_code function in tools/code_execution_tool.py within the Environment Variable Handler component, leading to a sandbox issue. The vulnerability can be exploited remotely and a public exploit is available. The vendor has not responded to disclosure and no official fix or patch is currently known.
CVSS v4.0
Score 6.9medium
Affected software
pkg:github/nousresearch/hermes-agentRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in NousResearch hermes-agent (versions =2026.4.0 through =2026.4.16) involves the execute_code function of the tools/code_execution_tool.py file in the Environment Variable Handler component. The issue results in a sandbox bypass or sandbox issue, allowing remote attackers to potentially execute code outside the intended restricted environment. Exploits are publicly available, increasing the risk of exploitation. The vendor has not provided any response or remediation guidance, and no patch or official fix is currently documented.
Potential Impact
The vulnerability allows remote attackers to bypass sandbox restrictions in the hermes-agent, potentially enabling unauthorized code execution or manipulation outside the intended sandbox environment. This could lead to compromise of the host system or unauthorized actions performed by the agent. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
No official fix or patch is currently available from the vendor, and the vendor has not responded to disclosure. Users should monitor vendor communications for updates. Until a patch is released, consider restricting network exposure of the hermes-agent service and applying compensating controls to limit potential exploitation. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-23T10:33:15.559Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a12c1f509f6977edb44a359
Added to database: 05/24/2026, 09:16:37 UTC
Last enriched: 06/30/2026, 23:57:21 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 552
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.