Description
OpenClaw before 2026.4.2 fails to enforce write scopes on the POST /sessions/:sessionKey/kill endpoint in identity-bearing HTTP modes. Read-scoped callers can terminate running subagent sessions by sending requests to this endpoint, bypassing authorization controls.
Published: 2026-04-20
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Session Termination
Action: Immediate Patch
AI Analysis

Impact

The OpenClaw application in versions prior to 2026.4.2 fails to enforce write scopes on the POST /sessions/:sessionKey/kill endpoint when operating in identity‑bearing HTTP modes. An attacker possessing only read‑scoped credentials can send a request to this endpoint and terminate any active sub‑agent session. This lack of authorization control can lead to denial of service by disrupting legitimate sessions and may allow more aggressive attacks if repeated termination causes instability in the system. The vulnerability is a classic example of CWE-862, an improper authorization flaw.

Affected Systems

OpenClaw OpenClaw installations running any version earlier than 2026.4.2 on Node.js are affected. Clients that expose the POST /sessions/:sessionKey/kill endpoint without enforcing proper write permissions allow this flaw.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of <1% signifies a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote over HTTP, particularly when an attacker can obtain a read‑scoped token. Even though the impact is limited to session termination, repeated disruptions could increase operational risk. No additional prerequisites beyond valid read scope are mentioned, so the barrier to exploitation is low for an attacker with access to the API.

Generated by OpenCVE AI on April 21, 2026 at 23:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenClaw to version 2026.4.2 or later, which provides proper scope enforcement on the kill endpoint.
  • Restrict read‑scope permissions in your identity management system to users or services that do not need to terminate sessions, minimizing the impact surface.
  • Monitor API access logs for unexpected session termination attempts and inspect for privilege misuse.

Generated by OpenCVE AI on April 21, 2026 at 23:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5hff-46vh-rxmw OpenClaw: Read-scoped identity-bearing HTTP clients could kill sessions via /sessions/:sessionKey/kill
History

Wed, 22 Apr 2026 00:00:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 20 Apr 2026 23:30:00 +0000

Type Values Removed Values Added
Description OpenClaw before 2026.4.2 fails to enforce write scopes on the POST /sessions/:sessionKey/kill endpoint in identity-bearing HTTP modes. Read-scoped callers can terminate running subagent sessions by sending requests to this endpoint, bypassing authorization controls.
Title OpenClaw < 2026.4.2 - Authorization Bypass in Session Termination Endpoint
First Time appeared Openclaw
Openclaw openclaw
Weaknesses CWE-862
CPEs cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
Vendors & Products Openclaw
Openclaw openclaw
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Openclaw Openclaw
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-04-21T17:34:23.419Z

Reserved: 2026-04-20T14:01:13.151Z

Link: CVE-2026-41298

cve-icon Vulnrichment

Updated: 2026-04-21T17:34:19.062Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-21T00:16:30.350

Modified: 2026-04-27T16:56:17.100

Link: CVE-2026-41298

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T23:30:02Z

Weaknesses