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-2024-0199

CVE-2024-0199: GitLab Authorization Bypass Vulnerability

CVE-2024-0199 is an authorization bypass vulnerability in GitLab that allows attackers to circumvent CODEOWNERS protections using crafted payloads. This article covers the technical details, affected versions, and mitigation steps.

Updated: January 22, 2026

CVE-2024-0199 Overview

An authorization bypass vulnerability was discovered in GitLab affecting versions 11.3 prior to 16.7.7, 16.7.6 prior to 16.8.4, and 16.8.3 prior to 16.9.2. An attacker could bypass CODEOWNERS by utilizing a crafted payload in an old feature branch to perform malicious actions. This vulnerability allows authenticated users to circumvent code review requirements established through the CODEOWNERS mechanism, potentially enabling unauthorized code changes to protected files and directories.

Critical Impact

Attackers can bypass CODEOWNERS protection to commit unauthorized changes to protected code paths, undermining code review workflows and potentially introducing malicious code into production repositories.

Affected Products

  • GitLab Community Edition versions 11.3 to 16.7.6
  • GitLab Enterprise Edition versions 11.3 to 16.7.6
  • GitLab Community Edition versions 16.7.6 to 16.8.3
  • GitLab Enterprise Edition versions 16.7.6 to 16.8.3
  • GitLab Community Edition versions 16.8.3 to 16.9.1
  • GitLab Enterprise Edition versions 16.8.3 to 16.9.1

Discovery Timeline

  • March 6, 2024 - GitLab releases security patch in version 16.9.2
  • March 7, 2024 - CVE-2024-0199 published to NVD
  • December 11, 2024 - Last updated in NVD database

Technical Details for CVE-2024-0199

Vulnerability Analysis

This authorization bypass vulnerability (CWE-863: Incorrect Authorization) affects GitLab's CODEOWNERS functionality, which is designed to enforce mandatory code reviews from specific individuals or teams for designated files and directories. The vulnerability allows an authenticated attacker to craft a malicious payload within an old feature branch that circumvents these authorization checks.

The CODEOWNERS feature is a critical security control in GitLab that ensures changes to sensitive code paths require approval from designated reviewers. By bypassing this mechanism, attackers can merge changes without obtaining required approvals, effectively undermining the entire code review security model.

Root Cause

The root cause stems from improper authorization validation in GitLab's merge request handling when dealing with old feature branches. The CODEOWNERS validation logic fails to properly enforce approval requirements under specific conditions involving legacy branch states, allowing the authorization check to be bypassed with a specially crafted payload.

Attack Vector

The attack is network-based and requires low privileges (authenticated user access). An attacker with repository access can exploit this vulnerability by:

  1. Identifying or creating an old feature branch in a target repository
  2. Crafting a specific payload that exploits the authorization validation flaw
  3. Submitting changes that would normally require CODEOWNERS approval
  4. Successfully merging the changes without obtaining required code owner approvals

The vulnerability is particularly dangerous in enterprise environments where CODEOWNERS is relied upon as a security control for protecting critical codebases, configuration files, or infrastructure-as-code definitions.

Detection Methods for CVE-2024-0199

Indicators of Compromise

  • Merge requests that were approved and merged without required CODEOWNERS approvals
  • Unusual merge activity from old or stale feature branches
  • Changes to CODEOWNERS-protected files without corresponding approval audit trails
  • Merge request activity patterns that bypass normal code review workflows

Detection Strategies

  • Audit GitLab merge request logs for merges that bypassed CODEOWNERS requirements
  • Review repository protected branch configurations and recent merge activity
  • Monitor for changes to sensitive files defined in CODEOWNERS without proper approvals
  • Implement additional logging around merge request approval workflows

Monitoring Recommendations

  • Enable detailed audit logging for merge request approvals in GitLab
  • Set up alerts for merges to protected branches from branches older than a defined threshold
  • Regularly audit CODEOWNERS compliance through GitLab's built-in compliance features
  • Monitor for any unauthorized modifications to security-critical code paths

How to Mitigate CVE-2024-0199

Immediate Actions Required

  • Upgrade GitLab immediately to version 16.9.2 or later
  • For GitLab 16.8.x users, upgrade to at least version 16.8.4
  • For GitLab 16.7.x users, upgrade to at least version 16.7.7
  • Audit recent merge request activity for any unauthorized bypasses of CODEOWNERS rules
  • Review and validate that CODEOWNERS protections are functioning correctly after patching

Patch Information

GitLab has released security patches addressing this vulnerability. Organizations should upgrade to the following versions or later:

  • GitLab 16.9.2 (recommended)
  • GitLab 16.8.4 (for 16.8.x branch)
  • GitLab 16.7.7 (for 16.7.x branch)

For detailed patch information, refer to the GitLab Security Release Announcement. Additional technical details can be found in the GitLab Issue #436977 and the HackerOne Report #2295423.

Workarounds

  • Implement additional merge request approval rules beyond CODEOWNERS as a defense-in-depth measure
  • Restrict merge permissions to trusted maintainers while awaiting patching
  • Consider enabling branch protection rules requiring multiple approvers
  • Audit and clean up stale feature branches that could be exploited
  • Implement external code review tooling as a supplementary control until patching is complete

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score8.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Technical References
  • GitLab Security Release Announcement

  • GitLab Issue #436977

  • HackerOne Report #2295423
  • Related CVEs
  • CVE-2025-9957: GitLab Authorization Bypass Vulnerability

  • CVE-2026-6515: GitLab Authentication Bypass Vulnerability

  • CVE-2026-5173: GitLab Auth Bypass Vulnerability

  • CVE-2026-2619: GitLab EE Auth Bypass Vulnerability
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