CVE-2026-7397 — NousResearch Hermes-Agent Vulnerability

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 formats

3 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.

medium T1574.006 Privilege Escalation

CVE-2026-7397 - NousResearch Hermes-Agent Symlink Following

Sigma YAML — free preview
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

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-7397 vulnerability CVE-2026-7397
CWE-59 weakness CWE-59
CWE-61 weakness CWE-61
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 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.

Related coverage

AgentFlow RCE Vulnerability (CVE-2026-7466) Allows Local Code Execution

CVE-2026-7466 — AgentFlow contains an arbitrary code execution vulnerability that allows attackers to execute local Python pipeline files by supplying a user-controlled pipeline_path parameter to...

vulnerabilityCVEhigh-severitycode-executioncwe-94
/SCW Vulnerability Desk /HIGH /8.8 /⚑ 5 IOCs /⚙ 3 Sigma

CVE-2026-7439 — AgentFlow's local web API accepts non-JSON content types on

CVE-2026-7439 — AgentFlow's local web API accepts non-JSON content types on POST /api/runs and POST /api/runs/validate endpoints without enforcing application/json validation, allowing attackers to bypass...

vulnerabilityCVEmedium-severitycwe-346
/SCW Vulnerability Desk /MEDIUM /4.4 /⚑ 2 IOCs /⚙ 2 Sigma

CVE-2026-7424: FreeRTOS-Plus-TCP DHCPv6 Vulnerability Leads to DoS

CVE-2026-7424 — Integer underflow in the DHCPv6 sub-option parser in FreeRTOS-Plus-TCP before V4.4.1 and V4.2.6 allows an adjacent network actor to corrupt the device's IPv6...

vulnerabilityCVEhigh-severitydenial-of-servicecwe-191
/SCW Vulnerability Desk /HIGH /8.1 /⚑ 4 IOCs /⚙ 2 Sigma