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

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

CVE-2026-1999 is an authorization bypass flaw in GitHub Enterprise Server that allows attackers to merge pull requests without push access. This article covers technical details, affected versions, impact, and mitigation.

Published: February 20, 2026

CVE-2026-1999 Overview

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allows an attacker to merge their own pull request into a repository without having push access. The vulnerability exploits an authorization bypass in the enable_auto_merge GraphQL mutation for pull requests. This issue specifically affects repositories that allow forking, as the attack relies on opening a pull request from an attacker-controlled fork into the target repository.

Critical Impact

Attackers without push access can merge unauthorized code changes into protected repositories by bypassing authorization checks in the auto-merge functionality, potentially introducing malicious code into production codebases.

Affected Products

  • GitHub Enterprise Server versions prior to 3.19.2
  • GitHub Enterprise Server versions prior to 3.18.5
  • GitHub Enterprise Server versions prior to 3.17.11

Discovery Timeline

  • 2026-02-18 - CVE CVE-2026-1999 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-1999

Vulnerability Analysis

This authorization bypass vulnerability (CWE-863: Incorrect Authorization) exists in the GraphQL API layer of GitHub Enterprise Server. The enable_auto_merge mutation fails to properly validate whether the authenticated user has the necessary push permissions before enabling auto-merge functionality on a pull request.

The vulnerability requires specific conditions for successful exploitation: the target repository must allow forking, the pull request must have a clean status (passing all required checks), and the target branch must not have branch protection rules enabled. These constraints limit the attack surface but do not eliminate the risk of unauthorized code merging in misconfigured repositories.

The attack flow involves an attacker forking a vulnerable repository, creating a malicious branch with code changes, opening a pull request from their fork to the target repository, and then invoking the enable_auto_merge mutation despite lacking push access. Once all status checks pass, the auto-merge proceeds without proper authorization validation.

Root Cause

The root cause lies in incomplete authorization checks within the enable_auto_merge GraphQL mutation handler. The mutation verifies that the user can create a pull request but fails to validate push access permissions before enabling the auto-merge feature. This creates a privilege escalation path where read-only contributors can effectively gain write access through the auto-merge mechanism.

Attack Vector

The attack is network-based and requires low-privilege authenticated access. An attacker must have a valid GitHub Enterprise Server account with at least read access to fork the target repository. The attack exploits the GraphQL API endpoint by sending a crafted mutation request.

The exploitation mechanism involves the attacker creating a fork, pushing malicious commits to their fork, opening a pull request to the target repository, and then calling the enable_auto_merge mutation. The server processes this request without validating that the requester has push permissions to the target branch, allowing unauthorized merges when the pull request meets all other merge requirements.

Detection Methods for CVE-2026-1999

Indicators of Compromise

  • Unexpected pull request merges in repositories where the merging user lacks write permissions
  • GraphQL audit log entries showing enable_auto_merge mutations from users with only read access
  • Pull requests originating from forks that were merged without explicit approval from repository maintainers
  • Unusual patterns of auto-merge enablement followed by immediate merge completion

Detection Strategies

  • Monitor GitHub Enterprise Server audit logs for enable_auto_merge GraphQL mutation calls and correlate with user permission levels
  • Implement alerts for pull request merges where the actor's permission level is below write access
  • Review merged pull requests from forked repositories for signs of unauthorized access
  • Query the GraphQL API audit trail for anomalous mutation patterns

Monitoring Recommendations

  • Enable verbose audit logging for all GraphQL API mutations in GitHub Enterprise Server
  • Configure SIEM integration to detect authorization-related anomalies in repository activities
  • Implement periodic access reviews comparing merged pull requests against contributor permissions
  • Set up real-time alerting for any auto-merge events on critical repositories

How to Mitigate CVE-2026-1999

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to patched versions 3.19.2, 3.18.5, or 3.17.11 immediately
  • Audit recent pull request merges from forked repositories for potential unauthorized changes
  • Enable branch protection rules on all critical branches to add an additional authorization layer
  • Consider temporarily disabling auto-merge functionality until the patch is applied

Patch Information

GitHub has released security patches addressing this vulnerability in the following versions:

  • GitHub Enterprise Server 3.19.2
  • GitHub Enterprise Server 3.18.5
  • GitHub Enterprise Server 3.17.11

This vulnerability was reported via the GitHub Bug Bounty program. Organizations should prioritize upgrading to the patched versions to eliminate the authorization bypass risk.

Workarounds

  • Enable branch protection rules on all branches to require additional authorization checks before merging
  • Disable the auto-merge feature at the organization or repository level until patching is complete
  • Restrict forking permissions on sensitive repositories to limit the attack surface
  • Implement mandatory pull request reviews from users with write access as an additional control layer
bash
# Configuration example
# Disable auto-merge at the organization level via GitHub CLI
gh api -X PATCH /orgs/{org}/settings \
  -f auto_merge_allowed=false

# Enable branch protection on default branch
gh api -X PUT /repos/{owner}/{repo}/branches/main/protection \
  -f required_pull_request_reviews.required_approving_review_count=1 \
  -f required_pull_request_reviews.dismiss_stale_reviews=true \
  -f enforce_admins=true

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

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:L/SI:H/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
  • AvailabilityLow
  • CWE References
  • CWE-863
  • Technical References
  • GitHub Release Notes 3.17.11

  • GitHub Release Notes 3.18.5

  • GitHub Release Notes 3.19.2
  • Related CVEs
  • CVE-2026-4296: GitHub Enterprise Server Auth Bypass Flaw

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