Openclaw cli: OpenClaw Hook Session Key Override Enables Targeted Cross-Session Routing
Affects openclaw-cliSource GCVE Database
CVSS 7.1 High : upgrade to 2026.2.12 soon.
Data as of 17 Nov 2026, 19:05 UTC
- Patch
- Available – fixed in 2026.2.12
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NWhat to do
Upgrade openclaw-cli to 2026.2.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in OpenClaw CLI version 2026.2.12 and later. Users should upgrade to this version or newer. The patch enforces rejecting externally supplied sessionKey values unless explicitly enabled via hooks.allowRequestSessionKey, introduces a defaultSessionKey for fixed routing, and restricts allowed sessionKey prefixes. Recommended configuration disables request-based sessionKey overrides and sets safe defaults. No further action is required if the patched version is deployed.
Description
OpenClaw CLI versions from 2.0.0-beta3 up to but not including 2026.2.12 have a vulnerability where the POST /hooks/agent endpoint accepts an externally supplied sessionKey for routing messages. This allows an authenticated hook token holder to inject messages into targeted sessions by overriding session keys. The vulnerability impacts message integrity and can persist poisoned context in sessions. Confidentiality impact is secondary and depends on other weaknesses. The issue is fixed in version 2026.2.12 by restricting sessionKey acceptance and adding configuration options to control session routing securely.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-hv93-r4j3-q65f (opens in a new tab)
- github.com/openclaw/openclaw/commit/113ebfd6a23c4beb8a575d48f7482593254506ec (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- github.com/openclaw/openclaw/releases/tag/v2026.2.12 (opens in a new tab)