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

CVE-2024-9164: GitLab EE Pipeline RCE Vulnerability

CVE-2024-9164 is a remote code execution vulnerability in GitLab Enterprise Edition that allows attackers to run pipelines on arbitrary branches. This article covers the technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-9164 Overview

A critical authorization bypass vulnerability has been discovered in GitLab Enterprise Edition (EE) that allows authenticated attackers to run CI/CD pipelines on arbitrary branches. This security flaw affects GitLab EE installations across a wide range of versions, potentially enabling unauthorized code execution and deployment through the pipeline system.

The vulnerability stems from missing authentication controls (CWE-306) in the pipeline execution functionality, allowing attackers with low-privilege access to trigger pipelines on branches they should not have access to. This could lead to unauthorized code deployment, data exfiltration, or supply chain attacks through compromised CI/CD workflows.

Critical Impact

Authenticated attackers can execute CI/CD pipelines on arbitrary branches, potentially enabling unauthorized code deployment, credential theft from pipeline secrets, and supply chain compromise.

Affected Products

  • GitLab Enterprise Edition versions 12.5 prior to 17.2.9
  • GitLab Enterprise Edition versions 17.3 prior to 17.3.5
  • GitLab Enterprise Edition versions 17.4 prior to 17.4.2

Discovery Timeline

  • 2024-10-11 - CVE-2024-9164 published to NVD
  • 2024-12-13 - Last updated in NVD database

Technical Details for CVE-2024-9164

Vulnerability Analysis

This vulnerability represents a missing authentication for critical function flaw (CWE-306) in GitLab's pipeline execution system. The vulnerability allows authenticated users to bypass branch-level access controls and trigger CI/CD pipelines on branches they should not have permission to access.

In GitLab's architecture, CI/CD pipelines are a powerful feature that can execute arbitrary code, access secrets and credentials, deploy to production environments, and interact with external services. The ability to run pipelines on arbitrary branches creates significant security implications, as attackers could potentially trigger pipelines containing malicious code or access secrets configured for protected branches.

The attack is network-accessible and requires only low-privilege authentication, with no user interaction needed. Successful exploitation can result in high impact to confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability is missing authentication checks in GitLab's pipeline execution functionality. The application fails to properly validate whether the requesting user has appropriate permissions to trigger pipelines on the specified branch. This missing authorization check allows authenticated users to bypass the intended branch protection mechanisms and execute pipelines regardless of their actual access level.

Attack Vector

The vulnerability is exploitable over the network by authenticated users with minimal privileges. An attacker with a valid GitLab account on the target instance can craft requests to trigger pipeline execution on branches they would not normally have access to, including protected branches that may contain sensitive configurations or secrets.

The attack flow involves:

  1. Attacker authenticates to GitLab EE with a low-privilege account
  2. Attacker identifies target branches (including protected branches)
  3. Attacker triggers pipeline execution on arbitrary branches by bypassing access controls
  4. Pipelines execute with the permissions and secrets configured for those branches

For detailed technical information about the exploitation mechanism, refer to the HackerOne Report #2711204 and the GitLab Issue Discussion.

Detection Methods for CVE-2024-9164

Indicators of Compromise

  • Unexpected pipeline executions on protected or sensitive branches by unauthorized users
  • Audit logs showing pipeline triggers from users without branch access permissions
  • Unusual patterns of pipeline executions across multiple branches from single accounts
  • Pipeline jobs accessing secrets or deploying to environments outside normal user scope

Detection Strategies

  • Monitor GitLab audit logs for pipeline creation events, correlating user permissions with branch access
  • Implement alerting for pipeline executions on protected branches by users without explicit access
  • Review CI/CD job logs for unexpected access patterns or secret retrieval attempts
  • Deploy SentinelOne Singularity for endpoint detection of anomalous GitLab Runner activity

Monitoring Recommendations

  • Enable comprehensive audit logging in GitLab for all pipeline-related events
  • Configure alerts for pipeline triggers on production or protected branches
  • Monitor for unusual patterns in CI/CD execution frequency and branch targeting
  • Review access patterns for service accounts and API tokens used in CI/CD workflows

How to Mitigate CVE-2024-9164

Immediate Actions Required

  • Upgrade GitLab EE to version 17.2.9, 17.3.5, or 17.4.2 or later immediately
  • Review recent pipeline execution logs for signs of exploitation
  • Audit branch protection rules and ensure they are properly configured
  • Rotate any secrets or credentials that may have been exposed through unauthorized pipeline executions

Patch Information

GitLab has released patched versions addressing this vulnerability. Organizations should upgrade to the following minimum versions:

  • Version 17.2.9 for the 17.2.x branch
  • Version 17.3.5 for the 17.3.x branch
  • Version 17.4.2 for the 17.4.x branch

Refer to the GitLab Issue Discussion for official patch details and upgrade guidance.

Workarounds

  • Implement strict network segmentation to limit GitLab access to trusted networks only
  • Review and minimize the number of users with any level of GitLab access
  • Temporarily disable CI/CD functionality for sensitive repositories until patching is complete
  • Implement additional monitoring and alerting on pipeline execution events
  • Consider using IP allowlists to restrict access to the GitLab instance
bash
# Configuration example - Review and export pipeline audit logs for analysis
# Check for unauthorized pipeline executions in GitLab
gitlab-rake gitlab:audit_events:export SINCE="2024-10-01" | grep -E "pipeline|ci_build"

# Verify current GitLab version
gitlab-rake gitlab:env:info | grep "GitLab version"

# Check protected branch configurations
gitlab-rails runner "Project.find_each { |p| puts \"#{p.name}: #{p.protected_branches.pluck(:name)}\" }"

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-306

  • NVD-CWE-noinfo
  • Technical References
  • GitLab Issue Discussion

  • HackerOne Report #2711204
  • Related CVEs
  • CVE-2026-1868: GitLab AI Gateway RCE Vulnerability

  • CVE-2025-13761: GitLab RCE Vulnerability

  • CVE-2021-22205: GitLab CE/EE RCE Vulnerability

  • CVE-2022-2884: GitLab CE/EE RCE Vulnerability
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