Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-9367— NousResearch hermes-agent terminal_tool approval.py detect_dangerous_command os command injection

Quick assessment

Affected
NousResearch hermes-agent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Hermes Agent是Nous Research开源的一款具备自我学习循环的AI代理工具。 Hermes Agent 5157f5427f19488b31c6fdebbacd15d798ce7f63及之前版本存在操作系统命令注入漏洞,该漏洞源于组件terminal_tool中文件tools/approval.py的函数detect_dangerous_command操作不当,可能导致OS命令注入。

CVSS 7.3 · High EPSS 1.66% · P75

Affected Version Matrix 1

VendorProduct Version RangeStatus
NousResearch hermes-agent 5157f5427f19488b31c6fdebbacd15d798ce7f63 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-9367

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
NousResearch hermes-agent terminal_tool approval.py detect_dangerous_command os command injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Hermes Agent 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Hermes Agent是Nous Research开源的一款具备自我学习循环的AI代理工具。 Hermes Agent 5157f5427f19488b31c6fdebbacd15d798ce7f63及之前版本存在操作系统命令注入漏洞,该漏洞源于组件terminal_tool中文件tools/approval.py的函数detect_dangerous_command操作不当,可能导致OS命令注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
NousResearch hermes-agent 5157f5427f19488b31c6fdebbacd15d798ce7f63 cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-9367

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-9367

登录查看更多情报信息。

Proof of Concept for CVE-2026-9367 (1)

Same Patch Batch · NousResearch · 2026-05-24 · 9 CVEs total

CVE-2026-9350 7.3 HIGH NousResearch hermes-agent Batch Runner approval.py check_all_command_guards authorization
CVE-2026-9353 7.3 HIGH NousResearch hermes-agent Skills Guard Multi-Word Prompt skills_guard.py injection
CVE-2026-9366 7.3 HIGH NousResearch hermes-agent prompt_builder.py _scan_context_content injection
CVE-2026-9368 7.3 HIGH NousResearch hermes-agent Environment Variable code_execution_tool.py execute_code sandbox
CVE-2026-9351 6.5 MEDIUM NousResearch hermes-agent read_file Tool file_tools.py _is_blocked_device path traversal
CVE-2026-9354 6.5 MEDIUM NousResearch hermes-agent Slack Agent/Mattermost Agent escape output
CVE-2026-9352 5.3 MEDIUM NousResearch hermes-agent Messaging Gateway local.py _make_run_env information disclosure
CVE-2026-9369 5.3 MEDIUM NousResearch hermes-agent CLI web-dashboard web_server.py _discover_dashboard_plugins comp

IV. Related Vulnerabilities

V. Comments for CVE-2026-9367

No comments yet


Leave a comment