Vulnerability · Published Apr 29, 2026 · Assigned by VulDB
CVE-2026-7397NousResearch hermes-agent file_tools.py _check_sensitive_path symlink
Medium 4.4
In plain English
A medium-severity security flaw in hermes-agent from NousResearch. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official description
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 may be used for attacks. Upgrading to version 0.9.0 is able to mitigate this issue. The patch is identified as 311dac197145e19e07df68feba2cd55d896a3cd1. Upgrading the affected component is recommended.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NousResearch | hermes-agent | 0.8.0 |
Weakness: CWE-61, CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-360121 | NousResearch hermes-agent file_tools.py _check_sensitive_path symlink vdb-entry, technical-description
- VDB-360121 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #803270 | NousResearch hermes-agent 0.8.0 Path Write Protection Bypass third-party-advisory
- https://github.com/NousResearch/hermes-agent/issues/8734 exploit, issue-tracking
- https://github.com/NousResearch/hermes-agent/pull/8829 issue-tracking, patch
- https://github.com/NousResearch/hermes-agent/commit/311dac197145e19e07df68feba2cd55d896a3cd1 patch
- https://github.com/NousResearch/hermes-agent/releases/tag/v2026.4.13 patch
- https://github.com/NousResearch/hermes-agent/ product