Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in NousResearch hermes-agent up to 2026.4.16. This vulnerability affects the function _is_blocked_device of the file tools/file_tools.py of the component read_file Tool. Performing a manipulation results in path traversal. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
AnalysisAI
Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass path restrictions and modify or disrupt file operations via the read_file tool. The flaw exists in the _is_blocked_device function within tools/file_tools.py. Public exploit code is available (EPSS data not provided, but exploit confirmed). Vendor was notified but did not respond, suggesting no official patch exists at time of analysis.
Technical ContextAI
The vulnerability stems from improper validation in the _is_blocked_device function of the file_tools.py module, which is part of the read_file tool component. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) flaw. The function fails to adequately sanitize or validate file paths before processing, allowing attackers to use directory traversal sequences (e.g., '../') to access or manipulate files outside intended boundaries. The affected product is an AI agent framework (hermes-agent by NousResearch) that provides file system interaction capabilities, making path traversal particularly dangerous as it exposes the underlying system through the agent's file operations.
RemediationAI
No official vendor patch exists as NousResearch did not respond to vulnerability disclosure. Organizations must implement compensating controls: First, restrict network access to hermes-agent instances to trusted IP ranges only, preventing remote exploitation (trade-off: reduces agent accessibility for legitimate remote users). Second, implement application-level path validation by wrapping or modifying the read_file tool to enforce strict allowlists of permitted directories and reject any path containing traversal sequences like '../', './', or absolute paths (trade-off: may break legitimate use cases requiring broader file access). Third, run hermes-agent processes under least-privilege accounts with chroot jails or containerization to limit file system exposure even if path traversal succeeds (trade-off: increased deployment complexity). Fourth, monitor for suspicious file access patterns in application logs. Community forks or patches may emerge given the public exploit; monitor the GitHub repository at https://github.com/NousResearch/hermes-agent for community-driven fixes. Consider migrating to alternative AI agent frameworks with active security maintenance if vendor responsiveness remains absent.
More in Hermes Agent
View allRemote command injection in NousResearch hermes-agent allows unauthenticated attackers to execute arbitrary OS commands
Path traversal in NousResearch hermes-agent (all versions through 2026.5.16) exposes arbitrary server-side files via the
Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula
Remote code/prompt injection in NousResearch Hermes Agent through 0.12.0 stems from improper neutralization in the _comp
Remote injection in NousResearch Hermes Agent through version 2026.4.30 allows unauthenticated attackers to manipulate t
Code injection in NousResearch hermes-agent 2026.4.23 allows remote unauthenticated attackers to inject and execute arbi
Remote injection vulnerability in NousResearch hermes-agent versions up to 2026.4.23 enables unauthenticated attackers t
Uncontrolled resource consumption in NousResearch hermes-agent (all versions through 2026.4.30) allows remote unauthenti
Missing authorization in NousResearch hermes-agent versions up to 2026.4.16 allows remote attackers to bypass authentica
Information disclosure in NousResearch hermes-agent allows remote unauthenticated attackers to extract sensitive data vi
A vulnerability was identified in NousResearch hermes-agent 0.8.0. Affected by this issue is some unknown functionality
DNS rebinding in NousResearch Hermes Agent prior to 0.16.0 allows remote attackers to reach privileged local WebSocket e
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31565
GHSA-hjf5-mqw9-9ph9