CVE-2026-9367: OS Command Injection in NousResearch hermes-agent
CVE-2026-9367 is a medium severity OS command injection vulnerability in the NousResearch hermes-agent up to commit 5157f5427f19488b31c6fdebbacd15d798ce7f63. It affects the detect_dangerous_command function in the tools/approval. py file of the terminal_tool component. This vulnerability allows remote attackers to execute arbitrary OS commands. The exploit has been publicly disclosed, but there is no vendor response or patch available at this time.
AI Analysis
Technical Summary
This vulnerability exists in the hermes-agent product by NousResearch, specifically in the detect_dangerous_command function within tools/approval.py. The flaw allows an attacker to manipulate input to cause OS command injection remotely, potentially leading to arbitrary command execution on the affected system. The vulnerability is present in version 5157f5427f19488b31c6fdebbacd15d798ce7f63 and earlier. The vendor was contacted but did not respond, and no official fix or patch has been published. The CVSS 4.0 base score is 6.9, indicating a medium severity with network attack vector, no privileges or user interaction required, and low to limited impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary operating system commands on the affected hermes-agent, potentially compromising system integrity and confidentiality. The impact is rated medium severity with limited impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no patch or workaround is available, users should consider restricting network access to the affected hermes-agent instances and monitor for suspicious activity related to command execution. Avoid exposing the vulnerable component to untrusted networks until a fix is available.
CVE-2026-9367: OS Command Injection in NousResearch hermes-agent
Description
CVE-2026-9367 is a medium severity OS command injection vulnerability in the NousResearch hermes-agent up to commit 5157f5427f19488b31c6fdebbacd15d798ce7f63. It affects the detect_dangerous_command function in the tools/approval. py file of the terminal_tool component. This vulnerability allows remote attackers to execute arbitrary OS commands. The exploit has been publicly disclosed, but there is no vendor response or patch available at this time.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the hermes-agent product by NousResearch, specifically in the detect_dangerous_command function within tools/approval.py. The flaw allows an attacker to manipulate input to cause OS command injection remotely, potentially leading to arbitrary command execution on the affected system. The vulnerability is present in version 5157f5427f19488b31c6fdebbacd15d798ce7f63 and earlier. The vendor was contacted but did not respond, and no official fix or patch has been published. The CVSS 4.0 base score is 6.9, indicating a medium severity with network attack vector, no privileges or user interaction required, and low to limited impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary operating system commands on the affected hermes-agent, potentially compromising system integrity and confidentiality. The impact is rated medium severity with limited impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no patch or workaround is available, users should consider restricting network access to the affected hermes-agent instances and monitor for suspicious activity related to command execution. Avoid exposing the vulnerable component to untrusted networks until a fix is available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-05-23T10:33:13.039Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a12c1f509f6977edb44a353
Added to database: 5/24/2026, 9:16:37 AM
Last enriched: 5/24/2026, 9:31:43 AM
Last updated: 5/24/2026, 10:19:13 AM
Views: 3
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.