OpenClaw Authorization Bypass Vulnerability in Session Termination Endpoint

Vulnerability

A vulnerability exists in OpenClaw versions prior to 2026.4.2, where the POST /sessions/:sessionKey/kill endpoint does not properly enforce write scopes in identity-bearing HTTP modes. This oversight allows read-scoped callers to terminate active subagent sessions, effectively bypassing authorization controls. The issue arises from a failure to regulate session termination requests according to the specified scope permissions, particularly in shared-secret bearer authentication.

Impact

Exploiting this vulnerability allows read-scoped users to perform unauthorized session termination, disrupting active subagent processes and causing potential interruptions in delegated tasks.

Reproduction

To reproduce this vulnerability, send a POST request to the /sessions/:sessionKey/kill endpoint while including a read-only operator scope. The request will bypass authorization and terminate the specified session, demonstrating the lack of proper scope enforcement.

Remediation

Users can upgrade to OpenClaw version 2026.4.2 or later to address this vulnerability.

Added: Apr 21, 2026, 12:25 AM
Updated: Apr 21, 2026, 12:25 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
6.3
remediation
0.0
relevance
6.4
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.