OpenClaw: Hook mapping templates could bypass hook session-key opt-in
CVE-2026-45002 · GHSA-2xcp-x87w-q377 · published 2026-04-25 · updated 2026-05-19
- Severity
- Medium
- CVSS score
- 6.9
- Chance of exploitation (EPSS)
- 0.28%
- Fixed in
- 2026.4.20
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Partial
- CISA SSVC
Templated hook mapping sessionKey values were treated differently from request-supplied session keys. A hook mapping could render an externally influenced session key even when hooks.allowRequestSessionKey was disabled, bypassing the intended routing opt-in for hook callers. This affects webhook routing isolation. It does not grant host execution by itself. Severity is medium.
Upgrade openclaw to 2026.4.20 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Template-rendered mapping session keys are now treated as externally supplied routing input and require hooks.allowRequestSessionKey=true plus the existing prefix policy checks. Fix commit: 5275d008ed33203dba3f98e969ad683a65c416c3
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| openclaw | npm | < 2026.4.20 | 2026.4.20 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- CriticalOpenClaw: QQBot admin commands could skip DM-only and allowFrom policyopenclaw
- CriticalOpenClaw: Feishu webhook and card-action validation now fail closedopenclaw
- CriticalOpenClaw: Gateway HTTP endpoints re-resolve bearer auth after SecretRef rotationopenclaw
- CriticalOpenClaw: Sandbox escape via TOCTOU race in remote FS bridge readFileopenclaw
- CriticalOpenClaw: Heartbeat context inheritance bypasses sandbox via senderIsOwner escalationopenclaw
- CriticalOpenClaw has a CWD `.env` environment variable injection which bypasses host-env policy and allows config takeoveropenclaw
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.