Skip to main content
VulnerabilityPublished Updated

Openclaw cli: OpenClaw Hook Session Key Override Enables Targeted Cross-Session Routing

Affects openclaw-cliSource GCVE Database

0

CVSS 7.1 High : upgrade to 2026.2.12 soon.

Data as of 17 Nov 2026, 19:05 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:N

What to do

Upgrade openclaw-cli to 2026.2.12.

Affected software

ProductAffectedFixed in
Homebrewopenclaw-clipkg:brew/openclaw-cliOther threatsAffected
  • >=2026.1.29 <2026.2.12
Fixed in
  • 2026.2.12

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

Community reviews

Loading reviews…