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-reachable but requires authenticated low-privilege access; scope unchanged; low C/I/A reflecting intra-application toolset bypass only.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was determined in NousResearch hermes-agent up to 0.16.0. This impacts the function get_tool_definitions of the file agent/agent_init.py of the component disabled_toolsets Handler. This manipulation causes incorrect privilege assignment. The attack may be initiated remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report.
AnalysisAI
Incorrect privilege assignment in NousResearch hermes-agent through 0.16.0 allows authenticated remote users to invoke toolsets that administrators have explicitly disabled via the disabled_toolsets configuration. The flaw resides in get_tool_definitions within agent/agent_init.py, where the disabled_toolsets list was not checked before injecting tool definitions into an agent session, causing disabled tools (e.g., 'memory') to remain fully accessible. No active exploitation is confirmed (not in CISA KEV), but a public proof-of-concept exists via GitHub issue #46171 and an upstream fix is available in PR #46185.
Technical ContextAI
hermes-agent is a Python-based AI agent framework by NousResearch, requiring Python >=3.11,<3.14 and using pydantic-core with Rust-backed extensions. The vulnerable component is the disabled_toolsets Handler inside the init_agent function in agent/agent_init.py. The get_tool_definitions function builds the set of tools injected into an agent session; the intended design is that toolsets listed in disabled_toolsets (e.g., 'memory') are excluded from injection. CWE-266 (Incorrect Privilege Assignment) is the root cause: the conditional logic failed to evaluate whether a toolset appeared in agent.disabled_toolsets before injecting it, meaning the access restriction was silently bypassed. The fix in PR #46185 adds the guard: and not (agent.disabled_toolsets and 'memory' in agent.disabled_toolsets). The affected CPE is cpe:2.3:a:nousresearch:hermes-agent:*:*:*:*:*:*:*:*.
RemediationAI
The upstream fix is available via GitHub PR #46185 (https://github.com/NousResearch/hermes-agent/pull/46185), which adds a guard to skip tool injection when the toolset is listed in disabled_toolsets. Users should update to a tagged release of hermes-agent that incorporates this PR once published; an exact patched release version is not yet independently confirmed from the available references. As a compensating control pending a formal release, operators can avoid using disabled_toolsets as a security boundary and instead enforce toolset restrictions at the agent session initialization layer or through external API access controls. Note that relying solely on the disabled_toolsets configuration for security enforcement on unpatched versions provides no effective restriction. The VulDB advisory is at https://vuldb.com/vuln/386264 and the originating issue report is at https://github.com/NousResearch/hermes-agent/issues/46171.
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-266 – Incorrect Privilege Assignment
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53698
GHSA-6rr9-mpp7-j4mp