CVE-2026-41298

OpenClaw < 2026.4.2 - Authorization Bypass in Session Termination Endpoint

Published Apr 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Apr 21, 2026, 5:34 PM
Reserved
Apr 20, 2026, 2:01 PM
Status
Analyzed
Published
Apr 21, 2026, 12:16 AM
Modified
Nov 11, 2026, 11:10 PM