CVE-2026-7397 — NousResearch Hermes-Agent Vulnerability
CVE-2026-7397 — A security flaw has been discovered in NousResearch hermes-agent 0.8.0. This affects the function _check_sensitive_path of the file tools/file_tools.py. The manipulation results in symlink following. Attacking locally is a requirement. The exploit has been released to the public and
What This Means For You
- If your environment is affected by CWE-59, CWE-61, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-7397 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-7397 - NousResearch Hermes-Agent Symlink Following
title: CVE-2026-7397 - NousResearch Hermes-Agent Symlink Following
id: scw-2026-04-29-ai-1
status: experimental
level: medium
description: |
Detects the exploitation of CVE-2026-7397 in NousResearch Hermes-Agent. The vulnerability allows for symlink following in the _check_sensitive_path function, potentially leading to unauthorized access to sensitive files like /etc/passwd, /etc/shadow, or SAM database. This rule specifically looks for the hermes-agent process attempting to access these sensitive files, indicating a potential exploit attempt.
author: SCW Feed Engine (AI-generated)
date: 2026-04-29
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-7397/
tags:
- attack.privilege_escalation
- attack.t1574.006
logsource:
category: process_creation
detection:
selection:
Image|contains:
- 'hermes-agent'
TargetFilename|contains:
- '/etc/passwd'
- '/etc/shadow'
- 'C:\Windows\System32\config\SAM'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-7397 | vulnerability | CVE-2026-7397 |
| CWE-59 | weakness | CWE-59 |
| CWE-61 | weakness | CWE-61 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 29, 2026 at 22:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.