CVE-2026-7397: Symlink Following in NousResearch hermes-agent
CVE-2026-7397 is a medium severity vulnerability in NousResearch hermes-agent version 0.8.0 involving symlink following due to a flaw in the _check_sensitive_path function in tools/file_tools.py. The issue requires local attacker privileges and does not involve user interaction. Exploit code has been publicly released. Upgrading to version 0.9.0 mitigates the vulnerability.
AI Analysis
Technical Summary
The vulnerability in NousResearch hermes-agent 0.8.0 arises from improper handling of symbolic links in the _check_sensitive_path function within tools/file_tools.py, allowing symlink following. This flaw can be exploited by a local attacker with low privileges without user interaction. The CVSS 4.8 (medium) score reflects the limited attack vector (local) and low complexity. A patch identified by commit 311dac197145e19e07df68feba2cd55d896a3cd1 is available in version 0.9.0, which addresses the issue.
Potential Impact
An attacker with local access and low privileges can exploit this vulnerability to manipulate symlink handling, potentially leading to unauthorized file access or modification within the affected system. The impact is limited by the requirement for local access and low privileges, and no remote exploitation or user interaction is needed. Public exploit code availability increases the risk of exploitation in vulnerable environments.
Mitigation Recommendations
Upgrade the hermes-agent component to version 0.9.0 or later, which contains the official patch (commit 311dac197145e19e07df68feba2cd55d896a3cd1) that fixes the symlink following issue. No other mitigation is indicated or required by the vendor advisory.
CVE-2026-7397: Symlink Following in NousResearch hermes-agent
Description
CVE-2026-7397 is a medium severity vulnerability in NousResearch hermes-agent version 0.8.0 involving symlink following due to a flaw in the _check_sensitive_path function in tools/file_tools.py. The issue requires local attacker privileges and does not involve user interaction. Exploit code has been publicly released. Upgrading to version 0.9.0 mitigates the vulnerability.
CVSS v4.0
Score 4.8medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in NousResearch hermes-agent 0.8.0 arises from improper handling of symbolic links in the _check_sensitive_path function within tools/file_tools.py, allowing symlink following. This flaw can be exploited by a local attacker with low privileges without user interaction. The CVSS 4.8 (medium) score reflects the limited attack vector (local) and low complexity. A patch identified by commit 311dac197145e19e07df68feba2cd55d896a3cd1 is available in version 0.9.0, which addresses the issue.
Potential Impact
An attacker with local access and low privileges can exploit this vulnerability to manipulate symlink handling, potentially leading to unauthorized file access or modification within the affected system. The impact is limited by the requirement for local access and low privileges, and no remote exploitation or user interaction is needed. Public exploit code availability increases the risk of exploitation in vulnerable environments.
Mitigation Recommendations
Upgrade the hermes-agent component to version 0.9.0 or later, which contains the official patch (commit 311dac197145e19e07df68feba2cd55d896a3cd1) that fixes the symlink following issue. No other mitigation is indicated or required by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-29T10:44:13.710Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f24c6ecbff5d86103a531c
Added to database: 4/29/2026, 6:22:38 PM
Last enriched: 5/7/2026, 2:20:34 AM
Last updated: 6/13/2026, 2:04:53 PM
Views: 272
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.