CVE-2026-45002
OpenClaw Hook Session-Key Bypass Vulnerability
Publication date: 2026-05-11
Last updated on: 2026-05-11
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| openclaw | openclaw | to 2026.4.20 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-863 | The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability in OpenClaw before version 2026.4.20 allows attackers to bypass webhook routing isolation controls by circumventing the hooks.allowRequestSessionKey opt-in restriction. This could potentially lead to unauthorized access or actions within the webhook routing system.
However, the provided information does not explicitly discuss the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to bypass webhook routing isolation controls.
By rendering externally influenced session keys through templated hook mappings, attackers may gain unauthorized access or perform unauthorized actions within the webhook routing system.
Although it does not provide direct host execution, it weakens the security boundaries intended to isolate webhook requests, potentially leading to misuse or exploitation of webhook functionality.
Can you explain this vulnerability to me?
CVE-2026-45002 is a vulnerability in OpenClaw versions before 2026.4.20 that allows attackers to bypass the hooks.allowRequestSessionKey opt-in restriction.
The issue arises because templated hook mapping session keys were treated differently from request-supplied session keys, enabling attackers to render externally influenced session keys through templates.
This bypass allows attackers to circumvent webhook routing isolation controls, meaning they can influence routing in ways that were intended to be restricted.
The vulnerability does not grant host execution by itself but compromises the intended isolation of webhook routing.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves bypassing the hooks.allowRequestSessionKey opt-in restriction by rendering externally influenced session keys through templated hook mappings in OpenClaw versions prior to 2026.4.20.
Detection would involve inspecting webhook routing configurations and logs for session keys that are generated from templates rather than static values, especially if hooks.allowRequestSessionKey is set to false.
Since the vulnerability is related to session keys rendered via templates, you can look for unusual session key patterns in your logs or webhook requests, such as keys containing template syntax like '{{...}}'.
Specific commands are not provided in the available resources, but general approaches include:
- Review OpenClaw configuration files to check the value of hooks.allowRequestSessionKey.
- Search logs for session keys containing template syntax patterns (e.g., using grep or similar tools): grep -r '{{' /path/to/openclaw/logs
- Monitor webhook routing behavior for unexpected routing or access patterns that could indicate session key bypass.
What immediate steps should I take to mitigate this vulnerability?
The primary mitigation is to upgrade OpenClaw to version 2026.4.20 or later, where the vulnerability has been fixed.
The fix enforces that template-rendered mapping session keys require explicit permission via hooks.allowRequestSessionKey set to true, and adds validation and logging to prevent unauthorized session key usage.
If upgrading immediately is not possible, review and adjust your OpenClaw configuration to ensure hooks.allowRequestSessionKey is set appropriately (preferably false) and restrict allowedSessionKeyPrefixes to trusted values.
Additionally, monitor webhook routing logs for suspicious session key usage and consider temporarily disabling templated session keys if feasible.