Skip to main content

hermes-agent CVE-2026-7397

| EUVDEUVD-2026-26273 LOW
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-04-29 VulDB
1.9
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
1.9 LOW
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
4.4 MEDIUM

Local-only vector with low-privilege requirement; integrity and availability both low as write access to sensitive files may corrupt them but does not enable code execution.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

8
Source Code Evidence Fetched
Jul 24, 2026 - 01:35 vuln.today
Analysis Generated
Jul 24, 2026 - 01:35 vuln.today
PoC Detected
Apr 29, 2026 - 21:16 vuln.today
Public exploit code
Severity Changed
Apr 29, 2026 - 19:22 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 19:22 NVD
4.4 (MEDIUM) 1.9 (LOW)
EUVD ID Assigned
Apr 29, 2026 - 18:30 euvd
EUVD-2026-26273
Patch released
Apr 29, 2026 - 18:30 nvd
Patch available
CVE Published
Apr 29, 2026 - 18:00 nvd
LOW 1.9

DescriptionCVE.org

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.

AnalysisAI

Symlink following in NousResearch hermes-agent 0.8.0 allows local low-privileged users to bypass sensitive filesystem path protections and write to restricted system files. The _check_sensitive_path function in tools/file_tools.py validated only the fully-resolved real path, not the original expanded path, enabling bypass on platforms where system directories are themselves symlinks (e.g., macOS /etc/private/etc). A publicly available PoC exists; no confirmed active exploitation (not in CISA KEV), and the CVSS 4.0 score of 1.9 with EPSS at the 2nd percentile indicates low real-world risk.

Technical ContextAI

CWE-61 (UNIX Symbolic Link Following) describes the root cause: the function _check_sensitive_path in tools/file_tools.py called os.path.realpath(os.path.expanduser(filepath)) to resolve the input path before checking it against _SENSITIVE_PATH_PREFIXES and _SENSITIVE_EXACT_PATHS. On macOS, /etc is itself a symlink to /private/etc, so a path like /etc/hosts resolves to /private/etc/hosts. If the blocklist contained /etc/ but not /private/etc/, the resolved path silently bypassed the check. Additionally, the fallback in the except block assigned the unresolved original filepath (not even the expanded form) to resolved, creating a second bypass window if os.path.realpath() threw. The fix (commit 311dac197145e19e07df68feba2cd55d896a3cd1) checks both the expanded and resolved forms of the path against all sensitive prefix and exact-match lists, closing both gaps. Affected product per CPE: cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*, version 0.8.0 confirmed by EUVD (EUVD-2026-26273).

RemediationAI

Upgrade to hermes-agent 0.9.0 (released as tag v2026.4.13), which includes the fix via commit 311dac197145e19e07df68feba2cd55d896a3cd1 (https://github.com/NousResearch/hermes-agent/commit/311dac197145e19e07df68feba2cd55d896a3cd1). The patched release is available at https://github.com/NousResearch/hermes-agent/releases/tag/v2026.4.13. If an immediate upgrade is not feasible, restrict local system access to hermes-agent's process to only trusted users, as the attack requires an existing local session with low privileges. On macOS deployments specifically, administrators should audit whether _SENSITIVE_PATH_PREFIXES in the current installation includes both /etc/ and /private/etc/ as a temporary compensating control, noting this is a manual workaround that does not address the underlying path resolution flaw and may be bypassed by other symlink configurations.

CVE-2026-71963 HIGH POC
8.6 Sep 03

Remote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary

CVE-2026-9367 MEDIUM POC
5.5 May 24

Remote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands

CVE-2026-14628 MEDIUM POC
5.5 Jul 04

Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the

CVE-2026-9351 MEDIUM POC
5.5 May 24

Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass

CVE-2026-9368 MEDIUM POC
5.5 May 24

Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula

CVE-2026-7396 MEDIUM POC
5.5 Apr 29

Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker

CVE-2026-10221 MEDIUM POC
5.5 Jun 01

Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _comp

CVE-2026-10220 MEDIUM POC
5.5 Jun 01

Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t

CVE-2026-9366 MEDIUM POC
5.5 May 24

Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2026-9353 MEDIUM POC
5.5 May 24

Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t

CVE-2026-10224 MEDIUM POC
5.5 Jun 01

Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti

Share

CVE-2026-7397 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy