CVE-2026-9367 Details
Description
A vulnerability was determined in NousResearch hermes-agent up to 5157f5427f19488b31c6fdebbacd15d798ce7f63. This affects the function detect_dangerous_command of the file tools/approval.py of the component terminal_tool. This manipulation causes os command injection. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
A remote code execution vulnerability has been identified in NousResearch Hermes-Agent versions through commit 5157f5427f19488b31c6fdebbacd15d798ce7f63. The issue arises in the terminal_tool component, specifically within the detect_dangerous_command function in tools/approval.py. The vulnerability allows for OS command injection by bypassing the application's command approval blacklist, which is intended to prevent the execution of harmful commands. This exploitation can be initiated remotely.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 24, 2026CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/75fb10319693e86106ced2ef3a472c80 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/812228 | [email protected] | Permission Required |
| https://vuldb.com/vuln/365330 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/365330/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NousResearch hermes-agent | <= commit 5157f5427f19488b31c6fdebbacd15d798ce7f63 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 24, 2026 | New CVE Received | [email protected] |
Volerion