banner logoJoin us at RSAC™ 2026 Conference, March 23–March 26 | North Expo, Booth N-5863Join us at RSAC™ 2026, March 23–March 26Learn More
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-28477

CVE-2026-28477: OpenClaw OAuth Bypass Vulnerability

CVE-2026-28477 is an OAuth state validation bypass flaw in OpenClaw that allows attackers to bypass CSRF protection and perform credential substitution. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-28477 Overview

OpenClaw versions prior to 2026.2.14 contain an OAuth state validation bypass vulnerability in the manual Chutes login flow. This Cross-Site Request Forgery (CSRF) vulnerability allows attackers to bypass CSRF protection mechanisms by convincing users to paste attacker-controlled OAuth callback data. Successful exploitation enables credential substitution and token persistence for unauthorized accounts, potentially compromising user authentication sessions.

Critical Impact

Attackers can exploit this OAuth state validation bypass to perform credential substitution attacks, enabling unauthorized access to user accounts through manipulated OAuth callback data.

Affected Products

  • OpenClaw versions prior to 2026.2.14

Discovery Timeline

  • 2026-03-05 - CVE CVE-2026-28477 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-28477

Vulnerability Analysis

This vulnerability (CWE-352: Cross-Site Request Forgery) exists in the OAuth authentication flow within OpenClaw's Chutes login mechanism. The core issue stems from improper validation of the OAuth state parameter during manual authentication flows, which is designed to prevent CSRF attacks during OAuth redirects.

In vulnerable versions, the application permitted users to paste only the authorization code without the accompanying state parameter, effectively bypassing the CSRF protection that the state parameter provides. This design decision prioritized user convenience over security, allowing attackers to substitute their own OAuth callback data into a victim's authentication session.

Root Cause

The root cause lies in the parseOAuthCallbackInput function within src/agents/chutes-oauth.ts. The vulnerable implementation accepted bare authorization codes without state validation when users pasted content that didn't match a full URL format. The code path explicitly allowed "code-only paste" scenarios, assuming user consent mitigated the CSRF risk. However, this assumption is flawed because users can be socially engineered into pasting attacker-controlled data without understanding the security implications.

Attack Vector

The attack requires network access and user interaction. An attacker can craft malicious OAuth callback data and convince a target user to paste this data into the manual Chutes login prompt. Since the vulnerable code accepted authorization codes without validating the corresponding state parameter, the attacker's credentials could be substituted into the victim's session, enabling:

  1. Unauthorized account access through credential substitution
  2. Persistent token theft for long-term unauthorized access
  3. Session hijacking through OAuth flow manipulation
typescript
// Security patch from src/agents/chutes-oauth.ts
// Source: https://github.com/openclaw/openclaw/commit/a99ad11a4107ba8eac58f54a3c1a8a0cf5686f47

     return { error: "No input provided" };
   }
 
+  // Manual flow must validate CSRF state; require URL (or querystring) that includes `state`.
+  let url: URL;
   try {
-    const url = new URL(trimmed);
-    const code = url.searchParams.get("code");
-    const state = url.searchParams.get("state");
-    if (!code) {
-      return { error: "Missing 'code' parameter in URL" };
-    }
-    if (!state) {
-      return { error: "Missing 'state' parameter. Paste the full URL (or just the code)." };
-    }
-    if (state !== expectedState) {
-      return { error: "OAuth state mismatch - possible CSRF attack. Please retry login." };
-    }
-    return { code, state };
+    url = new URL(trimmed);
   } catch {
-    // Manual flow: users often paste only the authorization code.
-    // In that case we can't validate state, but the user is explicitly opting in by pasting it.
-    if (!/\s/.test(trimmed) && !trimmed.includes("://") && trimmed.length > 0) {
-      return { code: trimmed, state: expectedState };
+    // Code-only paste (common) is no longer accepted because it defeats state validation.
+    if (
+      !/\s/.test(trimmed) &&
+      !trimmed.includes("://") &&
+      !trimmed.includes("?") &&

The patch enforces strict state validation by requiring the full redirect URL containing both code and state parameters, eliminating the vulnerable code-only paste pathway.

Detection Methods for CVE-2026-28477

Indicators of Compromise

  • Unusual OAuth authentication patterns with missing or mismatched state parameters
  • Multiple failed OAuth state validation errors followed by successful authentications
  • Authentication events from unexpected geographic locations or IP addresses after OAuth flow completion
  • Session tokens created with inconsistent OAuth callback origins

Detection Strategies

  • Monitor authentication logs for OAuth callbacks that lack state parameters or contain state mismatches
  • Implement anomaly detection for users authenticating through manual OAuth flows with unusually formatted callback data
  • Alert on OAuth authentication events where the state parameter validation was bypassed or not performed
  • Track authentication flows where authorization codes are submitted without corresponding state values

Monitoring Recommendations

  • Enable verbose logging for OAuth authentication flows in OpenClaw deployments
  • Configure SIEM rules to correlate OAuth callback events with user session creation
  • Monitor for social engineering indicators such as users reporting suspicious instructions to paste data into login prompts
  • Review authentication audit logs for patterns consistent with credential substitution attacks

How to Mitigate CVE-2026-28477

Immediate Actions Required

  • Upgrade OpenClaw to version 2026.2.14 or later immediately
  • Review recent OAuth authentication logs for signs of exploitation
  • Invalidate and regenerate OAuth tokens for users who may have been affected
  • Educate users about the risks of pasting external data into authentication prompts

Patch Information

The vulnerability has been addressed in OpenClaw version 2026.2.14. The security patch modifies the OAuth callback parsing logic to require full redirect URLs containing both code and state parameters, ensuring proper CSRF validation in all authentication flows. The fix is available in commit a99ad11.

Additional resources:

  • GitHub Security Advisory
  • VulnCheck Advisory on Openclaw

Workarounds

  • Disable manual OAuth code entry functionality until patching is complete
  • Enforce automated OAuth redirect flows only, preventing manual callback data input
  • Implement network-level controls to restrict OAuth callback endpoints to trusted redirect URIs
  • Deploy web application firewall rules to validate OAuth state parameters at the network edge
bash
# Configuration example - Disable manual OAuth code entry (if supported)
# Update OpenClaw configuration to enforce strict OAuth flow
export OPENCLAW_OAUTH_STRICT_MODE=true
export OPENCLAW_DISABLE_MANUAL_CODE_ENTRY=true

# Restart OpenClaw service to apply changes
systemctl restart openclaw

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

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory

  • VulnCheck Advisory on Openclaw
  • Related CVEs
  • CVE-2026-29606: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-28480: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-28475: OpenClaw Auth Bypass Vulnerability

  • CVE-2026-28471: OpenClaw Auth Bypass Vulnerability
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
  • English
  • 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