CVE-2026-18976 NousResearch hermes-agent disabled_toolsets agent_init.py get_tool_definitions privileges assignment

Medium 5.3 Published Updated

Remote attackers can exploit incorrect privilege assignment in the hermes-agent library to escalate privileges via the disabled_toolsets handler.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-18976?

CVE-2026-18976 is a medium-severity vulnerability in NousResearch hermes-agent, published on 6 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-266

Which versions are affected by CVE-2026-18976?

How do I fix CVE-2026-18976?

No fix has been published for CVE-2026-18976 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-18976 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-18976 exists.

Sources

Also known as GHSA-6rr9-mpp7-j4mp.

Is CVE-2026-18976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free