Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-41298

CVE-2026-41298: OpenClaw Auth Bypass Vulnerability

CVE-2026-41298 is an authorization bypass flaw in OpenClaw that allows read-scoped callers to terminate sessions without proper write permissions. This article covers the technical details, affected versions, and mitigations.

Published: April 23, 2026

CVE-2026-41298 Overview

OpenClaw before version 2026.4.2 contains an authorization bypass vulnerability in the session termination endpoint. The application fails to enforce write scopes on the POST /sessions/:sessionKey/kill endpoint when operating in identity-bearing HTTP modes. This allows read-scoped callers to terminate running subagent sessions by sending requests to this endpoint, bypassing authorization controls that should require write permissions.

Critical Impact

Attackers with read-only access can terminate active subagent sessions, potentially causing service disruption and unauthorized denial of service to legitimate users.

Affected Products

  • OpenClaw versions prior to 2026.4.2

Discovery Timeline

  • 2026-04-21 - CVE-2026-41298 published to NVD
  • 2026-04-21 - Last updated in NVD database

Technical Details for CVE-2026-41298

Vulnerability Analysis

This vulnerability is classified under CWE-862 (Missing Authorization), which occurs when software does not perform an authorization check when an actor attempts to access a resource or perform an action. In OpenClaw's gateway implementation, the session kill HTTP endpoint improperly handles scope verification for incoming requests. When operating in identity-bearing HTTP modes, the endpoint accepts requests from callers possessing only read-level scopes, even though terminating sessions is fundamentally a write operation that modifies system state.

The lack of proper scope enforcement creates a privilege escalation pathway where low-privilege API consumers can execute administrative actions. This represents a significant access control failure in the gateway's authorization layer.

Root Cause

The root cause lies in the src/gateway/session-kill-http.ts file, where the original implementation used authorizeGatewayBearerRequestOrReply for authentication but did not properly validate that the requesting party had write-level scopes required for session termination operations. The authorization logic failed to distinguish between read and write operations at the endpoint level.

Attack Vector

An attacker with legitimate read-only access to the OpenClaw system can exploit this vulnerability by sending a POST request to the /sessions/:sessionKey/kill endpoint. Since the endpoint does not verify write scopes, the request is processed successfully despite the caller lacking appropriate permissions. This network-accessible attack requires low privileges (read-only access) and no user interaction.

The attack flow involves:

  1. Obtaining a valid read-scoped authentication token
  2. Identifying an active session key (potentially through enumeration or information disclosure)
  3. Sending a POST request to terminate the target session
  4. The session is terminated without proper authorization checks
typescript
 import { loadConfig } from "../config/config.js";
 import type { AuthRateLimiter } from "./auth-rate-limit.js";
 import { isLocalDirectRequest, type ResolvedGatewayAuth } from "./auth.js";
-import { authorizeGatewayBearerRequestOrReply } from "./http-auth-helpers.js";
 import { sendJson, sendMethodNotAllowed } from "./http-common.js";
+import {
+  authorizeGatewayHttpRequestOrReply,
+  resolveTrustedHttpOperatorScopes,
+} from "./http-utils.js";
+import { authorizeOperatorScopesForMethod } from "./method-scopes.js";
 import { loadSessionEntry } from "./session-utils.js";

 const REQUESTER_SESSION_KEY_HEADER = "x-openclaw-requester-session-key";

Source: GitHub Commit

The patch introduces proper scope authorization by replacing authorizeGatewayBearerRequestOrReply with authorizeGatewayHttpRequestOrReply and adding authorizeOperatorScopesForMethod to validate that the caller has the required write scopes for session termination operations.

Detection Methods for CVE-2026-41298

Indicators of Compromise

  • Unexpected session terminations affecting legitimate users without corresponding write-scoped authentication events
  • POST requests to /sessions/:sessionKey/kill from API clients that should only have read-level access
  • Authentication logs showing read-scoped tokens being used for session management operations
  • Elevated rate of session kill requests from unusual sources or service accounts

Detection Strategies

  • Implement logging to capture the scope level of all requests to session management endpoints
  • Create alerts for session termination requests where the authenticated user lacks write permissions
  • Monitor for patterns of session kills that don't correlate with expected administrative activity
  • Review API gateway logs for discrepancies between granted scopes and accessed endpoints

Monitoring Recommendations

  • Enable detailed audit logging for all session management operations in OpenClaw
  • Configure alerting thresholds for unusual session termination patterns
  • Implement scope validation monitoring at the API gateway layer
  • Correlate authentication events with session management actions to identify privilege misuse

How to Mitigate CVE-2026-41298

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.4.2 or later immediately
  • Audit logs for any suspicious session termination activity from read-scoped API consumers
  • Review and revoke any read-only tokens that may have been used to exploit this vulnerability
  • Implement additional network-level controls to restrict access to session management endpoints

Patch Information

The vulnerability is resolved in OpenClaw version 2026.4.2. The fix modifies the session kill HTTP handler to properly enforce write scopes by utilizing authorizeGatewayHttpRequestOrReply and authorizeOperatorScopesForMethod functions, ensuring that only callers with appropriate write-level permissions can terminate sessions.

For detailed patch information, see the GitHub Security Advisory and the commit fix.

Workarounds

  • Restrict network access to the /sessions/:sessionKey/kill endpoint using firewall rules or reverse proxy configurations
  • Implement an API gateway policy that enforces write scope validation before requests reach OpenClaw
  • Temporarily disable identity-bearing HTTP modes if write-scope enforcement cannot be guaranteed
  • Deploy a Web Application Firewall (WAF) rule to block unauthorized POST requests to session management endpoints
bash
# Example: Restrict session kill endpoint access via nginx reverse proxy
location ~ ^/sessions/.*/kill$ {
    # Only allow requests from trusted admin IPs
    allow 10.0.0.0/8;
    deny all;
    proxy_pass http://openclaw-backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOpenclaw

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-862
  • Technical References
  • GitHub Commit Change

  • GitHub Security Advisory

  • VulnCheck Advisory
  • Related CVEs
  • CVE-2026-41909: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-41908: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-41301: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-41330: OpenClaw Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English