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

CVE-2024-4660: GitLab Information Disclosure Vulnerability

CVE-2024-4660 is an information disclosure vulnerability in GitLab EE that allows guest users to access private project source code through group templates. This article covers technical details, affected versions, and mitigation.

Published: June 2, 2026

CVE-2024-4660 Overview

CVE-2024-4660 is a broken access control vulnerability in GitLab Enterprise Edition (EE). The flaw allows a user with guest role permissions to read the source code of a private project by abusing group templates. The issue affects GitLab EE versions starting from 11.2 through 17.1.7, 17.2 through 17.2.5, and 17.3 through 17.3.2. The vulnerability is classified under [CWE-862] Missing Authorization. GitLab released fixes in versions 17.1.7, 17.2.5, and 17.3.2 on September 11, 2024.

Critical Impact

Guest users can read source code from private GitLab projects through group templates, exposing intellectual property and potentially embedded secrets.

Affected Products

  • GitLab Enterprise Edition versions 11.2 through 17.1.7
  • GitLab Enterprise Edition versions 17.2 through 17.2.5
  • GitLab Enterprise Edition versions 17.3 through 17.3.2

Discovery Timeline

  • 2024-09-11 - GitLab releases patch versions 17.1.7, 17.2.5, and 17.3.2
  • 2024-09-12 - CVE-2024-4660 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-4660

Vulnerability Analysis

The vulnerability stems from missing authorization checks in the group templates feature of GitLab EE. Group templates allow projects within a group to inherit configurations and code from a designated template project. When a guest user references a private project through this template mechanism, GitLab does not properly verify the requesting user's permission to access the underlying source code. As a result, the template path becomes a confused deputy that exposes private repository contents to users who lack direct read access.

The authorization gap impacts confidentiality only. Attackers cannot modify project data, alter pipelines, or disrupt service availability through this flaw. However, exposure of proprietary source code can lead to follow-on risks, including disclosure of hardcoded credentials, API keys, or business logic that attackers can weaponize in subsequent attacks.

Root Cause

The defect is a Missing Authorization issue [CWE-862]. The code path serving group template content does not enforce the project-level read permission against the requesting principal. The check that should validate whether a guest can read a private project's source is either absent or applied inconsistently within the template handler.

Attack Vector

An authenticated attacker with guest membership in a group containing a configured template referencing a private project sends a crafted request through the template feature. The server returns source code from the private project without performing the required permission check. Exploitation requires authentication but does not require user interaction or elevated privileges beyond guest access. See the HackerOne Report #2480126 and the GitLab Issue Discussion for additional context.

Detection Methods for CVE-2024-4660

Indicators of Compromise

  • Unusual access patterns from guest accounts to group template endpoints associated with private projects.
  • Audit log entries showing template-related API calls originating from users without direct project membership.
  • Repository read events for private projects with no corresponding member or role assignment for the requesting user.

Detection Strategies

  • Review GitLab audit events for project source access by users whose access level is guest or who lack explicit project membership.
  • Correlate template configuration changes with subsequent source code retrieval requests from low-privilege accounts.
  • Compare project visibility settings against the membership of users accessing template-linked resources.

Monitoring Recommendations

  • Enable and centralize GitLab audit logs covering project, group, and template events.
  • Alert on anomalous spikes in template-derived file fetches and on access by accounts created shortly before template use.
  • Monitor outbound traffic from CI runners and developer endpoints for bulk repository cloning that follows guest activity.

How to Mitigate CVE-2024-4660

Immediate Actions Required

  • Upgrade GitLab EE to version 17.3.2, 17.2.5, or 17.1.7 or later, depending on your release branch.
  • Audit group template configurations and remove templates that reference private projects unnecessarily.
  • Review guest membership across groups and revoke access where it is not required for business operations.

Patch Information

GitLab released the fix on September 11, 2024. Detailed release notes are available in the GitLab Release Patch Announcement. Self-managed GitLab EE administrators should plan upgrades following GitLab's standard upgrade path. GitLab.com customers received the patch automatically.

Workarounds

  • Remove or unset group-level template configurations that point to private projects until the upgrade is applied.
  • Restrict the guest role assignments within groups that host sensitive templates.
  • Rotate any credentials or secrets that may have been exposed in private project source code accessed during the vulnerable window.
bash
# Check current GitLab version on self-managed instance
sudo gitlab-rake gitlab:env:info | grep "GitLab information" -A 10

# Upgrade GitLab EE (Omnibus example for Debian/Ubuntu)
sudo apt-get update
sudo apt-get install gitlab-ee=17.3.2-ee.0

# Verify upgrade completion
sudo gitlab-ctl reconfigure
sudo gitlab-rake gitlab:env:info | grep "GitLab"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

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

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

  • HackerOne Report #2480126

  • GitLab Release Patch Announcement
  • Related CVEs
  • CVE-2026-3160: GitLab Information Disclosure Vulnerability

  • CVE-2026-3074: GitLab Information Disclosure Vulnerability

  • CVE-2026-5262: GitLab Information Disclosure Vulnerability

  • CVE-2026-5377: GitLab Information Disclosure 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