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
Network-exploitable with no special conditions, but PR:L required per CVSS 4.0 signal; low impacts across all dimensions with no scope change beyond the vulnerable system.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was detected in NousResearch hermes-agent up to 0.16.0. Affected by this issue is some unknown functionality of the file hermes-agent/model_tools.py of the component Memory Toolset. The manipulation results in improper access controls. The attack can be executed remotely. The exploit is now public and may be used.
AnalysisAI
Improper access control in NousResearch hermes-agent up to 0.16.0 allows low-privileged authenticated users to invoke the Memory Toolset even when it has been explicitly disabled by an operator via the disabled_toolsets configuration. The root cause is a missing guard in init_agent() within agent/agent_init.py, which unconditionally injected the Memory Toolset regardless of operator-level restrictions. A public proof-of-concept exploit exists (GitHub issue #48181), and a vendor patch is available via pull request #46185.
Technical ContextAI
hermes-agent is an AI agent orchestration framework by NousResearch (CPE: cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*). The vulnerable component is the Memory Toolset, implemented in hermes-agent/model_tools.py and injected during agent initialization in agent/agent_init.py. The root cause class is CWE-284 (Improper Access Control): the init_agent() function failed to check whether disabled_toolsets contained the string 'memory' before injecting the Memory Toolset into the agent session. The patch (PR #46185) adds the guard and not (agent.disabled_toolsets and 'memory' in agent.disabled_toolsets) to enforce operator-level toolset suppression. This type of flaw is characteristic of authorization logic that enforces restrictions at configuration time but fails to propagate those restrictions into initialization pathways.
RemediationAI
The upstream fix is available in GitHub Pull Request #46185 (https://github.com/NousResearch/hermes-agent/pull/46185), which patches agent/agent_init.py to skip Memory Toolset injection when 'memory' appears in agent.disabled_toolsets. A specific tagged patched release version has not been confirmed from available data - only the upstream PR exists. Operators should pull the latest commit from the main branch or apply the patch from PR #46185 directly. As a compensating control prior to patching, operators can restrict network access to the hermes-agent API to only fully trusted, low-risk authenticated users, reducing the pool of principals capable of exploiting the bypass. Restricting which users can create agent sessions is a secondary mitigation with no functional side effects for legitimate workflows.
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 weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53706
GHSA-4992-66px-gwh3