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-4296

CVE-2026-4296: GitHub Enterprise Server Auth Bypass Flaw

CVE-2026-4296 is an authentication bypass vulnerability in GitHub Enterprise Server that exploits OAuth redirect URI validation. Attackers can gain unauthorized account access. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 23, 2026

CVE-2026-4296 Overview

An incorrect regular expression vulnerability was identified in GitHub Enterprise Server that allows attackers to bypass OAuth redirect URI validation. This authentication bypass flaw enables an attacker with knowledge of a first-party OAuth application's registered callback URL to craft malicious authorization links that redirect OAuth authorization codes to attacker-controlled domains, potentially granting unauthorized access to victim accounts.

Critical Impact

Attackers can steal OAuth authorization codes and gain unauthorized access to victim accounts with all scopes granted to the compromised OAuth application. This could lead to repository access, organization data exposure, and lateral movement within enterprise environments.

Affected Products

  • GitHub Enterprise Server versions prior to 3.21
  • GitHub Enterprise Server versions prior to 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, and 3.14.26
  • All GitHub Enterprise Server installations with OAuth applications configured

Discovery Timeline

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

Technical Details for CVE-2026-4296

Vulnerability Analysis

This vulnerability is classified under CWE-185 (Incorrect Regular Expression), which indicates a flaw in pattern matching logic used for security-critical validation. The OAuth 2.0 authorization flow relies on strict redirect URI validation to ensure authorization codes are only sent to legitimate, pre-registered callback URLs. In this case, the regular expression used to validate redirect URIs contains a logical flaw that allows specially crafted URIs to pass validation while actually redirecting to attacker-controlled domains.

The attack requires user interaction—a victim must click a malicious authorization link—but once clicked, the OAuth flow proceeds normally from the user's perspective while the authorization code is silently exfiltrated to the attacker's server.

Root Cause

The vulnerability stems from an incorrectly implemented regular expression in the OAuth redirect URI validation logic within GitHub Enterprise Server. Regular expression flaws in URI validation commonly occur due to improper escaping of special characters (such as dots or forward slashes), inadequate anchoring of patterns, or failure to account for URI encoding variations. This allows attackers to construct URIs that appear to match the registered callback URL pattern but actually resolve to different domains.

Attack Vector

The attack is network-based and requires low privileges (an attacker must know the registered callback URL of a first-party OAuth application). The attacker crafts a malicious OAuth authorization URL that exploits the regex validation flaw, causing the redirect URI parameter to pass validation while actually pointing to an attacker-controlled server. When a victim clicks the link, they are presented with a legitimate-looking GitHub authorization prompt. Upon approval, the authorization code is sent to the attacker's domain instead of the legitimate application.

The attacker can then exchange this authorization code for an access token, gaining full access to the victim's account within the scope of the OAuth application's permissions.

Detection Methods for CVE-2026-4296

Indicators of Compromise

  • Unusual OAuth authorization requests with redirect URIs containing suspicious domain variations or encoded characters
  • OAuth access token grants to applications followed by immediate API access from unexpected IP addresses or geographic locations
  • User reports of authorization prompts for applications they regularly use appearing unexpectedly
  • Log entries showing OAuth callbacks being redirected to domains that closely resemble but differ from registered callback URLs

Detection Strategies

  • Implement monitoring for OAuth authorization flows with regex pattern analysis on redirect URI parameters to detect potential bypass attempts
  • Review GitHub Enterprise Server audit logs for OAuth token issuance events, correlating them with subsequent API activity patterns
  • Deploy web application firewall (WAF) rules to detect and block authorization requests with anomalous redirect URI structures
  • Enable detailed logging of OAuth authentication flows and establish baselines for normal authorization patterns

Monitoring Recommendations

  • Monitor GitHub Enterprise Server access logs for OAuth authorization endpoints with particular attention to redirect_uri parameters
  • Set up alerts for OAuth applications receiving authorization grants from unusual user populations or at abnormal times
  • Review and audit all registered OAuth application callback URLs to ensure they follow strict URL patterns
  • Implement session monitoring to detect access token usage patterns inconsistent with normal application behavior

How to Mitigate CVE-2026-4296

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to a patched version immediately: 3.20.1, 3.19.5, 3.18.8, 3.17.14, 3.16.17, 3.15.21, or 3.14.26
  • Review OAuth application registrations and audit all registered callback URLs for potential exposure
  • Consider temporarily disabling OAuth applications that grant high-privilege scopes until patching is complete
  • Notify users to be cautious of unexpected OAuth authorization prompts and to report suspicious activity

Patch Information

GitHub has released security patches across multiple supported release branches. Organizations should upgrade to the appropriate patched version based on their current deployment:

  • Version 3.20.x: Upgrade to 3.20.1
  • Version 3.19.x: Upgrade to 3.19.5
  • Version 3.18.x: Upgrade to 3.18.8
  • Version 3.17.x: Upgrade to 3.17.14
  • Version 3.16.x: Upgrade to 3.16.17
  • Version 3.15.x: Upgrade to 3.15.21
  • Version 3.14.x: Upgrade to 3.14.26

This vulnerability was reported via the GitHub Bug Bounty program.

Workarounds

  • Restrict OAuth application permissions to the minimum required scopes until patches can be applied
  • Implement network-level monitoring to detect and block OAuth callbacks to suspicious or newly registered domains
  • Use web application firewall rules to validate redirect URI parameters against strict allowlists
  • Consider temporarily disabling first-party OAuth applications that provide access to sensitive resources
bash
# Configuration example
# Review registered OAuth applications and their callback URLs
# Access: Site admin → OAuth applications
# For each application, verify the callback URL is correctly formatted
# and does not allow wildcard or partial matching patterns

# Check current GitHub Enterprise Server version
ghe-version

# Apply the security update (example for upgrading to 3.20.1)
ghe-upgrade github-enterprise-3.20.1.pkg

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGithub Enterprise Server

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/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
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-185
  • Technical References
  • GitHub Enterprise Release Notes 3.14.26

  • GitHub Enterprise Release Notes 3.15.21

  • GitHub Enterprise Release Notes 3.16.17

  • GitHub Enterprise Release Notes 3.17.14

  • GitHub Enterprise Release Notes 3.18.8

  • GitHub Enterprise Release Notes 3.19.5

  • GitHub Enterprise Release Notes 3.20.1
  • Related CVEs
  • CVE-2026-3307: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-5845: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-3582: GitHub Enterprise Server Auth Bypass Flaw

  • CVE-2026-1355: GitHub Enterprise Server Auth Bypass Flaw
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