CVE-2026-7397NousResearch hermes-agent file_tools.py _check_sensitive_path symlink
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NousResearch hermes-agent: affected: 0.8.0, 0.9.0 not affected
Vendor advisories:
- https://github.com/NousResearch/hermes-agent/pull/8829 (patch)
- https://github.com/NousResearch/hermes-agent/commit/311dac197145e19e07df68feba2cd55d896a3… (patch)
- https://github.com/NousResearch/hermes-agent/releases/tag/v2026.4.13 (patch)
References
- https://vuldb.com/vuln/360121
- https://vuldb.com/vuln/360121/cti
- https://vuldb.com/submit/803270
- https://github.com/NousResearch/hermes-agent/issues/8734
- https://github.com/NousResearch/hermes-agent/pull/8829
- https://github.com/NousResearch/hermes-agent/commit/311dac197145e19e07df68feba2cd55d896a3cd1
- https://github.com/NousResearch/hermes-agent/releases/tag/v2026.4.13
- https://github.com/NousResearch/hermes-agent/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.