A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-7110

CVE-2024-7110: GitLab EE RCE Vulnerability

CVE-2024-7110 is a remote code execution vulnerability in GitLab EE that allows attackers to execute arbitrary commands via prompt injection. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-7110 Overview

A command injection vulnerability has been discovered in GitLab Enterprise Edition (EE) that enables attackers to execute arbitrary commands within a victim's pipeline through prompt injection. This vulnerability affects GitLab EE versions starting from 17.0, allowing authenticated attackers to potentially compromise CI/CD pipelines and execute malicious commands in the context of the victim's environment.

Critical Impact

Attackers with low privileges can inject malicious prompts to execute arbitrary commands in victim pipelines, potentially leading to unauthorized access to sensitive data, code repositories, and deployment infrastructure.

Affected Products

  • GitLab Enterprise Edition versions 17.0 to 17.1.6
  • GitLab Enterprise Edition versions 17.2 prior to 17.2.4
  • GitLab Enterprise Edition versions 17.3 prior to 17.3.1

Discovery Timeline

  • 2024-08-22 - CVE-2024-7110 published to NVD
  • 2024-09-11 - Last updated in NVD database

Technical Details for CVE-2024-7110

Vulnerability Analysis

This vulnerability is classified as CWE-77 (Command Injection), which occurs when an application constructs commands using externally-influenced input without proper neutralization of special elements. In this case, the vulnerability manifests through a prompt injection attack vector within GitLab's pipeline functionality.

The attack requires network access and user interaction, meaning an attacker must craft a malicious prompt that gets processed by a victim's pipeline. The successful exploitation can lead to high impact on both confidentiality and integrity, as the attacker can execute arbitrary commands within the pipeline context.

Root Cause

The root cause lies in insufficient input validation and sanitization of user-controlled data that gets processed by GitLab's pipeline execution engine. When prompts or inputs are passed to the pipeline without proper neutralization, special command characters or injection payloads can escape the intended context and execute as shell commands.

This represents a classic command injection pattern where the application fails to properly separate code from data, allowing attacker-controlled input to be interpreted as executable commands within the pipeline's execution environment.

Attack Vector

The attack is conducted over the network and requires the attacker to have low-level privileges (authenticated access to GitLab). The attack also requires user interaction, suggesting the attacker must convince a victim to trigger a pipeline that processes the malicious prompt.

The prompt injection technique allows the attacker to embed malicious commands within seemingly benign input. When this input is processed by the pipeline without proper sanitization, the injected commands execute within the victim's pipeline context, potentially exposing secrets, credentials, and allowing lateral movement within the CI/CD infrastructure.

For detailed technical information about this vulnerability, refer to the GitLab Issue Discussion.

Detection Methods for CVE-2024-7110

Indicators of Compromise

  • Unusual or unexpected commands appearing in pipeline execution logs
  • Pipeline jobs executing commands that were not defined in the original .gitlab-ci.yml configuration
  • Unexpected data exfiltration attempts from pipeline execution environments
  • Anomalous network connections originating from CI/CD runners

Detection Strategies

  • Monitor pipeline execution logs for command sequences that deviate from expected patterns
  • Implement strict input validation policies for any user-controllable data that interacts with pipelines
  • Review audit logs for suspicious pipeline modifications or executions by users with unexpected access patterns
  • Deploy runtime security monitoring on CI/CD runners to detect command injection attempts

Monitoring Recommendations

  • Enable comprehensive audit logging for all pipeline-related activities in GitLab
  • Set up alerts for pipeline failures or anomalous execution patterns
  • Monitor for unauthorized access to pipeline artifacts or secrets
  • Implement network traffic analysis on CI/CD runner infrastructure to detect suspicious outbound connections

How to Mitigate CVE-2024-7110

Immediate Actions Required

  • Upgrade GitLab EE to version 17.1.7, 17.2.4, or 17.3.1 or later immediately
  • Audit recent pipeline executions for signs of command injection or unauthorized command execution
  • Review and restrict access to pipeline configurations and sensitive CI/CD variables
  • Implement additional input validation for any custom integrations that feed data into pipelines

Patch Information

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

  • GitLab EE 17.1.7 or later for the 17.1.x branch
  • GitLab EE 17.2.4 or later for the 17.2.x branch
  • GitLab EE 17.3.1 or later for the 17.3.x branch

For additional details and discussion, see the GitLab Issue Discussion.

Workarounds

  • Restrict pipeline execution permissions to trusted users only until patches are applied
  • Implement additional security controls at the runner level to limit command execution capabilities
  • Review and harden CI/CD configurations to minimize the attack surface for prompt injection
  • Consider disabling or restricting features that allow user-controlled input to influence pipeline execution
bash
# Example: Restrict runner access and enforce protected branches
# In your gitlab-ci.yml, use protected variables and branches
variables:
  SECURE_MODE: "true"
  
# Ensure sensitive jobs only run on protected branches
deploy_production:
  script:
    - echo "Deploying to production"
  only:
    - main
  tags:
    - protected-runner

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGitlab

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-77
  • Technical References
  • GitLab Issue Discussion
  • 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
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