CVE-2026-114463: Hermes Agent's webhook gateway gave a route named like build:external the toolsets of route build, turning a web-only route into terminal and file access
Nous Research's Hermes Agent can be triggered through webhook routes, each with its own HMAC secret and allowed toolsets. The gateway built the session id as webhook:{route_name}:{delivery_id} and later recovered the route by splitting on ':'. For a route named build:external that gives build, so a correctly signed request to a low-privilege route ran with a sibling route's toolsets, for example terminal and file instead of web search. A public repo's issues route signed by GitHub could thus deliver a prompt injection into a session with shell access.
What it is
Root cause (CWE-863): gateway/platforms/webhook.py authenticated against the route in the URL but resolved toolsets from chat_id.split(':') where chat_id = webhook:{route}:{delivery_id}. delivery_id is caller-supplied, so any parsing of chat_id stays attacker-influenced.
Needs a route whose name contains ':' and whose prefix matches another route (e.g. github and github:issues), which is plausible but not default. The attacker needs that route's HMAC secret, or just needs to trigger a signed delivery, such as opening an issue on a public repo whose webhook GitHub signs.
Impact per the researcher: command execution as the Hermes user, reading config files with other route secrets and LLM API keys, and modifying files. In unattended mode, commands Hermes flags as dangerous are still denied by default.
Fix: PR #115285 (merged 18 September 2026) binds per-route toolsets to the authenticated route (source.user_id). It first shipped in v2026.9.21 and is in every later release; NVD references v0.22.2. Reported by Pinar Sadioglu; NVD published the CVE on 21 October 2026.
How to check
- Check your Hermes Agent version: releases before v2026.9.21 are affected.
- List your webhook routes (platforms.webhook.extra.routes): any route name containing ':' that shares a prefix with another route was exposed. Review logs for tools used on those routes outside their configured toolsets.
How to fix
- Upgrade Hermes Agent to the latest release (v0.23.x at the time of writing).
- If you can't upgrade, rename webhook routes so none contain ':'.