Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.7%top 26%

CVE-2026-9367: OS Command Injection in NousResearch hermes-agent

0
Medium
VulnerabilityCVE-2026-9367cvecve-2026-9367
Published: 05/24/2026 (05/24/2026, 08:30:10 UTC)
Source: CVE Database V5
Vendor/Project: NousResearch
Product: hermes-agent

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/31/2026, 20:43:21 UTC

Technical Analysis

The vulnerability in NousResearch hermes-agent arises from improper handling of input in the detect_dangerous_command function within the terminal_tool component, specifically in tools/approval.py. This flaw enables remote attackers to perform OS command injection, potentially allowing execution of arbitrary commands on the affected system. The affected version is identified by the commit hash 5157f5427f19488b31c6fdebbacd15d798ce7f63. Despite early vendor notification, no official fix or advisory has been issued. The vulnerability is publicly disclosed, increasing the risk of exploitation, although no active exploitation has been documented.

Potential Impact

Successful exploitation could allow remote attackers to execute arbitrary operating system commands on the affected device, potentially leading to unauthorized system control or data compromise. The CVSS score of 6.9 reflects a medium severity with network attack vector and no required privileges or user interaction. However, the lack of an official patch or mitigation increases the risk for affected users.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vendor has not responded and no official fix is available, users should consider applying manual mitigations such as restricting network access to the hermes-agent service, employing application-level input validation or sandboxing, and monitoring for suspicious activity related to command execution. Stay alert for any future vendor advisories or community patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 05/24/2026, 09:16:37 UTC

Last enriched: 05/31/2026, 20:43:21 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses