Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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 Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in NousResearch hermes-agent up to 2026.4.30. This affects the function _scan_memory_content of the file tools/memory_tool.py. This manipulation causes injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
AnalysisAI
Injection vulnerability in NousResearch hermes-agent's _scan_memory_content function exposes authenticated low-privileged remote users to partial confidentiality, integrity, and availability compromise across all versions through 2026.4.30. The flaw originates in tools/memory_tool.py, where user-controlled input is insufficiently neutralized before being passed to downstream components. No public exploit identified at time of analysis is incorrect - a public proof-of-concept exploit exists (GitHub gist), and the vendor has not responded to responsible disclosure, meaning no patch has been released.
Technical ContextAI
CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) covers injection vulnerabilities where attacker-controlled data flows into a downstream interpreter or processor without adequate sanitization. The affected function _scan_memory_content in tools/memory_tool.py is a memory scanning routine in hermes-agent, an AI agent framework by NousResearch. Memory tool functions in agent frameworks typically process retrieved context or external data and may pass it to LLM prompts, command interpreters, or file system operations - any of which could serve as an injection sink. The CPE cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:* covers all versions of the hermes-agent application with no version floor, indicating the flaw is likely architectural rather than a regression. The injection class (CWE-74) does not disambiguate whether this is prompt injection, OS command injection, or another subtype; the VulDB report uses the generic 'injection' tag alongside 'Code Injection,' suggesting the downstream impact involves code or command execution rather than purely data manipulation.
RemediationAI
No vendor-released patch identified at time of analysis. The vendor did not respond to disclosure, and no fixed version has been published. Until a patch is available, operators should restrict network access to the hermes-agent instance using firewall rules or VPN enforcement to limit exposure to the AV:N attack vector. Because PR:L is required, enforce strict account controls: disable or remove low-privilege accounts that do not require access to the memory tool feature, reducing the attacker surface. If the _scan_memory_content functionality in tools/memory_tool.py is not operationally required, disable or remove the memory tool module - this eliminates the vulnerable code path entirely but may reduce agent functionality. Monitor invocations of the memory tool for anomalous input patterns as a detective control. Track the VulDB entry (https://vuldb.com/vuln/367502) and the GitHub POC (https://gist.github.com/YLChen-007/a1fb77ad2488c545a35d0f66356ea7b4) for any patch availability updates.
More in Hermes Agent
View allRemote code execution in NousResearch Hermes Agent 0.18.2-0.21.0 allows an unauthenticated attacker to execute arbitrary
Remote 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
Path traversal in NousResearch hermes-agent through version 2026.4.16 allows remote unauthenticated attackers to bypass
Remote sandbox escape in NousResearch hermes-agent versions up to 2026.4.16 allows unauthenticated attackers to manipula
Path traversal in NousResearch hermes-agent 0.8.0 exposes arbitrary server-side files to unauthenticated remote attacker
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
Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t
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
Same technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-33556
GHSA-33qv-c5qm-799v