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

CVE-2024-8114: GitLab Privilege Escalation Vulnerability

CVE-2024-8114 is a privilege escalation vulnerability in GitLab CE/EE that allows attackers with a stolen Personal Access Token to escalate privileges. This article covers the technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2024-8114 Overview

A privilege escalation vulnerability has been discovered in GitLab CE/EE affecting all versions from 8.12 before 17.4.5, 17.5 before 17.5.3, and 17.6 before 17.6.1. This vulnerability allows an attacker with access to a victim's Personal Access Token (PAT) to escalate privileges within the GitLab instance, potentially gaining unauthorized access to sensitive repositories, project configurations, and administrative functions.

Critical Impact

An attacker who obtains a victim's Personal Access Token can leverage this vulnerability to escalate their privileges beyond the intended scope of the token, potentially compromising the entire GitLab instance and all hosted repositories.

Affected Products

  • GitLab Community Edition (CE) versions 8.12 to 17.4.4
  • GitLab Enterprise Edition (EE) versions 8.12 to 17.4.4
  • GitLab CE/EE versions 17.5.0 to 17.5.2
  • GitLab CE/EE version 17.6.0

Discovery Timeline

  • 2024-11-26 - CVE-2024-8114 published to NVD
  • 2024-12-12 - Last updated in NVD database

Technical Details for CVE-2024-8114

Vulnerability Analysis

This vulnerability is classified as a Missing Authorization (CWE-862) issue within GitLab's Personal Access Token handling mechanism. The flaw exists in how GitLab processes and validates the scope and permissions associated with Personal Access Tokens, enabling attackers to bypass intended authorization controls.

When an attacker gains access to a victim's PAT—whether through credential theft, phishing, or other means—they can exploit the insufficient authorization checks to perform actions that should be restricted based on the token's defined scope. This represents a significant security concern for organizations using GitLab, as PATs are commonly used for CI/CD pipelines, API integrations, and automated workflows.

The network-based attack vector with low complexity requirements makes this vulnerability particularly concerning for internet-facing GitLab instances. The impact spans confidentiality, integrity, and availability, as elevated privileges could allow attackers to access sensitive source code, modify repository contents, or disrupt development workflows.

Root Cause

The root cause of CVE-2024-8114 lies in insufficient authorization validation within GitLab's access control framework. Specifically, the application fails to properly verify that actions performed using a Personal Access Token are within the authorized scope of that token. This missing authorization check (CWE-862) allows authenticated requests that should be denied based on token permissions to succeed, effectively granting the attacker elevated privileges.

Attack Vector

The attack requires the adversary to first obtain a valid Personal Access Token belonging to a GitLab user. This can be accomplished through various methods including phishing attacks, credential stuffing, or exploiting other vulnerabilities that leak token information. Once in possession of the PAT, the attacker can authenticate to the GitLab API and exploit the authorization bypass to perform privileged operations.

The exploitation follows this general pattern: the attacker uses the stolen PAT to authenticate API requests, then crafts specific requests that target functionality outside the token's intended scope. Due to the missing authorization checks, these requests are processed as if the attacker had full privileges of the token owner or beyond.

For detailed technical information about this vulnerability, refer to the GitLab Issue Discussion and the original HackerOne Report #2649822.

Detection Methods for CVE-2024-8114

Indicators of Compromise

  • Unusual API activity originating from Personal Access Tokens, especially actions outside normal usage patterns
  • Authentication events using PATs from unexpected IP addresses or geographic locations
  • Privilege escalation attempts visible in GitLab audit logs showing unauthorized access to restricted resources
  • API calls attempting to access administrative endpoints using non-admin tokens

Detection Strategies

  • Enable and monitor GitLab audit logs for suspicious token usage and privilege-related events
  • Implement alerting on API requests that result in authorization failures followed by successful access
  • Deploy network monitoring to detect unusual patterns of GitLab API traffic
  • Cross-reference PAT usage logs with user activity to identify potential token theft scenarios

Monitoring Recommendations

  • Configure centralized log aggregation for all GitLab authentication and API access events
  • Establish baseline behavior profiles for PAT usage and alert on deviations
  • Implement real-time monitoring of privileged operations within GitLab
  • Review and audit Personal Access Token permissions and expiration policies regularly

How to Mitigate CVE-2024-8114

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.4.5, 17.5.3, or 17.6.1 or later immediately
  • Audit all existing Personal Access Tokens and revoke any that are unnecessary or have excessive scopes
  • Rotate all PATs for privileged accounts as a precautionary measure
  • Review GitLab audit logs for any suspicious activity indicating prior exploitation

Patch Information

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

  • GitLab 17.4.5 - Patches the vulnerability for the 17.4.x branch
  • GitLab 17.5.3 - Patches the vulnerability for the 17.5.x branch
  • GitLab 17.6.1 - Patches the vulnerability for the 17.6.x branch

For detailed upgrade instructions and release notes, consult the GitLab Issue Discussion.

Workarounds

  • Implement strict network access controls limiting GitLab API access to trusted IP ranges
  • Enable two-factor authentication (2FA) for all GitLab users to reduce token theft risk
  • Configure PAT expiration policies to limit the validity period of tokens
  • Implement IP-based restrictions for API access where possible
  • Monitor and limit the scopes granted to Personal Access Tokens to the minimum required
bash
# Review and audit all Personal Access Tokens in GitLab Rails console
# Access the Rails console
gitlab-rails console

# List all active PATs with their scopes and users
PersonalAccessToken.active.each do |token|
  puts "User: #{token.user.username}, Token: #{token.name}, Scopes: #{token.scopes}, Expires: #{token.expires_at}"
end

# Revoke a specific token by name
PersonalAccessToken.find_by(name: 'suspicious_token')&.revoke!

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.12%

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

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

  • HackerOne Report #2649822
  • Related CVEs
  • CVE-2026-4916: GitLab Privilege Escalation Vulnerability

  • CVE-2026-1747: GitLab EE Privilege Escalation Vulnerability

  • CVE-2025-2242: GitLab Privilege Escalation Vulnerability

  • CVE-2026-5173: GitLab 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