A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-42073

CVE-2026-42073: Gitlawb Openclaude Auth Bypass Flaw

CVE-2026-42073 is an authentication bypass vulnerability in Gitlawb Openclaude that allows attackers to bypass OAuth CSRF protection. This post covers the technical details, affected versions, security impact, and mitigation.

Published: June 4, 2026

CVE-2026-42073 Overview

CVE-2026-42073 is a Cross-Site Request Forgery (CSRF) vulnerability in OpenClaude, an open-source coding-agent command line interface for cloud and local model providers. The flaw affects the Model Context Protocol (MCP) authentication flow, which spins up a temporary local HTTP server to receive OAuth callbacks. A logic error in the order of conditional checks allows an attacker to bypass state parameter validation and force the local server to terminate. The issue is fixed in version 0.5.1.

Critical Impact

An attacker can shut down the OpenClaude OAuth callback server without knowing the state value, disrupting the MCP authentication flow and impacting availability.

Affected Products

  • Gitlawb OpenClaude versions prior to 0.5.1
  • OpenClaude MCP authentication flow (OAuth callback handler)
  • Local HTTP callback server component

Discovery Timeline

  • 2026-06-02 - CVE-2026-42073 published to NVD
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-42073

Vulnerability Analysis

OpenClaude implements its MCP authentication flow by launching a temporary local HTTP server that listens for the OAuth provider's redirect callback. The server is expected to validate an incoming state query parameter against an internally stored value to prevent CSRF attacks against the local listener. This is the standard OAuth 2.0 mitigation defined by [CWE-352].

The vulnerability stems from a logic flaw in the order of conditionals that guard the validation routine. Because the checks evaluate in the wrong sequence, a crafted request reaches a code path that terminates the callback server before the state value is compared. An attacker does not need to know or guess the legitimate state token to trigger the shutdown.

Exploitation requires a victim to visit attacker-controlled content while the OpenClaude OAuth flow is active. The result is a denial-of-service condition against the local authentication listener, interrupting agent setup and MCP provider onboarding.

Root Cause

The root cause is improper ordering of conditional checks in the OAuth callback handler. The server-shutdown branch executes before, or independent of, the state comparison, breaking the CSRF protection contract.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker hosts a web page that issues a request to the OpenClaude callback endpoint on localhost while the user has an active authentication flow. The malicious request reaches the unauthenticated code path and causes the local HTTP server to stop, aborting the authentication.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-c73c-x77g-854r for vendor-provided technical context.

Detection Methods for CVE-2026-42073

Indicators of Compromise

  • Unexpected termination of the OpenClaude local OAuth callback HTTP server during an active MCP authentication flow.
  • Inbound HTTP requests to the OpenClaude loopback callback port originating from browser sessions navigating attacker-controlled pages.
  • Repeated failed or incomplete OAuth flows reported by OpenClaude users running versions prior to 0.5.1.

Detection Strategies

  • Inventory developer endpoints for OpenClaude installations and identify versions below 0.5.1 using software asset management telemetry.
  • Monitor process telemetry for short-lived local HTTP listeners spawned by the OpenClaude CLI and correlate against unexpected exit events.
  • Inspect browser and proxy logs for cross-origin requests to localhost callback ports during OAuth windows.

Monitoring Recommendations

  • Alert on OpenClaude processes that exit during an in-progress OAuth handshake without completing token exchange.
  • Track outbound DNS and HTTP requests from developer workstations to newly registered domains that subsequently trigger localhost callbacks.
  • Review GitHub dependency and supply chain alerts referencing GHSA-c73c-x77g-854r.

How to Mitigate CVE-2026-42073

Immediate Actions Required

  • Upgrade OpenClaude to version 0.5.1 or later on all developer workstations and build agents.
  • Audit recent MCP authentication flows for unexpected interruptions that may indicate exploitation attempts.
  • Restrict developer browsers from loading untrusted content during active OAuth authorization windows.

Patch Information

The vulnerability is patched in OpenClaude 0.5.1. The fix reorders the conditional checks in the OAuth callback handler so that state validation occurs before any server-shutdown logic executes. See the GitHub commit 739b8d1 and the GitHub Release v0.5.1 for details.

Workarounds

  • Avoid running the OpenClaude MCP authentication flow while browsing untrusted websites if upgrade is not immediately possible.
  • Use host firewall rules to restrict inbound connections to the OpenClaude callback port from non-browser local processes.
  • Close all unnecessary browser tabs before initiating an MCP OAuth flow to reduce CSRF exposure.
bash
# Upgrade OpenClaude to the patched release
npm install -g openclaude@0.5.1
openclaude --version

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGitlawb Openclaude

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-352
  • Technical References
  • GitHub Release v0.5.1
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-c73c-x77g-854r
  • Related CVEs
  • CVE-2026-42074: Gitlawb Openclaude RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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