The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-42195

CVE-2026-42195: draw.io Auth Bypass Vulnerability

CVE-2026-42195 is an authentication bypass flaw in draw.io that allows attackers to hijack OAuth sign-in flows via crafted URLs, leading to credential theft. This article covers technical details, affected versions, and patches.

Published: May 18, 2026

CVE-2026-42195 Overview

CVE-2026-42195 affects draw.io, a configurable diagramming and whiteboarding application. Versions prior to 29.7.9 accept a ?gitlab= URL parameter that overrides the GitLab server URL used during OAuth sign-in. A crafted link redirects the user's click on the "Authorize in GitLab" dialog to open a popup on an attacker-controlled host instead of gitlab.com. This redirection enables credential phishing and session state token exfiltration. The maintainers patched the issue in version 29.7.9. The weakness is tracked under [CWE-200] (Exposure of Sensitive Information to an Unauthorized Actor).

Critical Impact

Attackers can hijack the draw.io OAuth authorization flow to harvest GitLab credentials and steal OAuth session state tokens through a single crafted link.

Affected Products

  • draw.io (jgraph/drawio) client versions prior to 29.7.9
  • Deployments integrating draw.io with GitLab OAuth sign-in
  • Self-hosted draw.io instances exposing the affected client build

Discovery Timeline

  • 2026-05-08 - CVE-2026-42195 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-42195

Vulnerability Analysis

The draw.io client integrates with GitLab using an OAuth authorization flow. During sign-in, the client opens a popup window pointing to the GitLab authorization endpoint. The client trusts a user-supplied ?gitlab= query parameter to determine the OAuth server host, rather than enforcing a fixed allowlist anchored to gitlab.com or a configured self-hosted instance.

An attacker crafts a draw.io URL containing ?gitlab=attacker.example. When the victim opens that link and clicks "Authorize in GitLab," the popup loads the attacker-controlled host instead of the legitimate GitLab server. The attacker's page can imitate the GitLab login interface to capture credentials. It can also receive the OAuth state token and redirect parameters that draw.io passes during the flow.

Exploitation requires user interaction, namely clicking the crafted link and proceeding through the authorization dialog. The attack succeeds across trust boundaries because the popup originates from a draw.io-initiated action, lending it perceived legitimacy.

Root Cause

The root cause is improper input validation of an externally controllable URL parameter that governs a security-sensitive endpoint. The client should treat the OAuth server origin as a fixed configuration value, not as user-controlled input. By accepting ?gitlab= without an allowlist, draw.io exposes the authorization flow to redirection. This pattern aligns with [CWE-200] because session state and credential material can be disclosed to an unauthorized origin.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker distributes a crafted draw.io link through phishing email, chat, or a malicious diagram embed. The victim opens the link in a draw.io session and initiates GitLab sign-in. The popup is redirected to the attacker host, where credentials and OAuth state tokens can be captured. No authentication or special privileges are needed to craft or deliver the link.

No verified proof-of-concept code is available. See the GitHub Security Advisory GHSA-8x7j-m8px-7p8x for additional technical details.

Detection Methods for CVE-2026-42195

Indicators of Compromise

  • draw.io URLs containing a ?gitlab= parameter pointing to any host other than gitlab.com or your sanctioned self-hosted GitLab instance.
  • OAuth popups during draw.io sign-in that load an unexpected origin in the address bar.
  • Web proxy or browser telemetry showing outbound requests from draw.io sessions to unrecognized GitLab-lookalike domains.

Detection Strategies

  • Inspect HTTP referrer and request logs for draw.io page loads carrying the gitlab= query parameter with non-allowlisted values.
  • Hunt in email and chat gateways for inbound links matching drawio* hosts combined with a gitlab= parameter.
  • Correlate GitLab authentication logs with draw.io session activity to surface OAuth attempts that originate from unfamiliar relay hosts.

Monitoring Recommendations

  • Alert on newly registered domains that resemble gitlab.com and appear as query values in draw.io traffic.
  • Track draw.io client version strings in browser telemetry to confirm all users are running 29.7.9 or later.
  • Monitor GitLab OAuth application logs for authorization requests with unusual redirect_uri or state patterns.

How to Mitigate CVE-2026-42195

Immediate Actions Required

  • Upgrade all draw.io deployments and embedded client builds to version 29.7.9 or later, as documented in the GitHub Release Note v29.7.9.
  • Notify users to avoid clicking draw.io links from untrusted sources until the upgrade is complete.
  • Rotate any GitLab OAuth client secrets and revoke active sessions if exploitation is suspected.

Patch Information

The draw.io maintainers fixed the issue in version 29.7.9. The patch removes acceptance of the externally supplied gitlab= URL parameter for OAuth host selection. Refer to the GitHub Security Advisory GHSA-8x7j-m8px-7p8x and the GitHub Issue Report for change details.

Workarounds

  • Block or strip the gitlab= query parameter at web proxies and reverse proxies in front of self-hosted draw.io instances.
  • Restrict the GitLab OAuth application's allowed redirect_uri values to your sanctioned draw.io origin only.
  • Train users to verify the popup origin shows gitlab.com (or your internal GitLab host) before entering credentials.

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDraw Io

  • SeverityLOW

  • CVSS Score3.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200
  • Technical References
  • GitHub Issue Report

  • GitHub Release Note v29.7.9

  • GitHub Security Advisory GHSA-8x7j-m8px-7p8x
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS 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