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
    • 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-2025-4979

CVE-2025-4979: GitLab Information Disclosure Vulnerability

CVE-2025-4979 is an information disclosure vulnerability in GitLab CE/EE that allows attackers to reveal masked or hidden CI variables through HTTP responses. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-4979 Overview

An information disclosure vulnerability has been discovered in GitLab CE/EE that allows attackers to reveal masked or hidden CI/CD variables through the WebUI. This vulnerability affects the variable management functionality where an attacker can expose sensitive CI variables that they did not originally author by creating their own variable and observing the HTTP response. This represents a significant breach of the security controls designed to protect sensitive configuration data in GitLab pipelines.

Critical Impact

Attackers can expose masked or hidden CI/CD variables containing potentially sensitive credentials, API keys, and secrets without requiring any user interaction or authentication.

Affected Products

  • GitLab Community Edition (CE) all versions before 17.10.7
  • GitLab Enterprise Edition (EE) all versions before 17.10.7
  • GitLab CE/EE versions 17.11 before 17.11.3
  • GitLab CE/EE version 18.0.0 (fixed in 18.0.1)

Discovery Timeline

  • 2025-05-22 - CVE-2025-4979 published to NVD
  • 2025-08-08 - Last updated in NVD database

Technical Details for CVE-2025-4979

Vulnerability Analysis

This vulnerability stems from insufficient access control granularity in GitLab's CI/CD variable handling mechanism (CWE-1220: Insufficient Granularity of Access Control). The WebUI component responsible for managing CI variables fails to properly isolate variable data between different users and contexts. When a user creates a new CI variable, the HTTP response from the server inadvertently includes information about other masked or hidden variables that the requesting user should not have access to view.

The flaw allows network-based exploitation without requiring authentication or user interaction. The impact is focused on confidentiality, with no direct effect on system integrity or availability. Organizations using GitLab CI/CD pipelines to store sensitive credentials, API tokens, database passwords, or other secrets in masked variables are at risk of having these values exposed to unauthorized parties.

Root Cause

The root cause lies in CWE-1220 (Insufficient Granularity of Access Control), where GitLab's variable management API does not properly filter response data based on the authenticated user's authorization level. The system fails to distinguish between variables that a user has permission to view versus those that should remain hidden, resulting in unintended information leakage through standard API responses.

Attack Vector

The attack is conducted over the network and requires no special privileges or user interaction. An attacker with access to the GitLab WebUI can exploit this vulnerability through the following attack pattern:

  1. The attacker navigates to a GitLab project's CI/CD variable settings
  2. The attacker initiates a request to create a new CI variable
  3. The HTTP response from the server contains data about masked or hidden variables that belong to other users
  4. The attacker extracts sensitive variable values from the response payload

The vulnerability is particularly dangerous because masked variables in GitLab are specifically designed to hide sensitive values like credentials and API keys from appearing in logs and UI displays.

Detection Methods for CVE-2025-4979

Indicators of Compromise

  • Unusual patterns of CI/CD variable creation requests from single users
  • HTTP response logs showing larger-than-expected payloads for variable creation endpoints
  • Access patterns indicating systematic enumeration of CI variable endpoints
  • Audit log entries showing variable access by users who did not create them

Detection Strategies

  • Monitor GitLab API access logs for anomalous patterns in /api/v4/projects/:id/variables endpoints
  • Implement alerting on unusual volumes of variable creation requests
  • Review audit logs for users accessing CI/CD settings across multiple projects in rapid succession
  • Enable and monitor GitLab's built-in audit events for CI/CD variable operations

Monitoring Recommendations

  • Configure centralized logging for all GitLab API requests, particularly those related to CI/CD configurations
  • Establish baseline metrics for normal CI variable access patterns and alert on deviations
  • Implement network traffic analysis to detect large response payloads from variable endpoints
  • Review access to sensitive repositories and projects for unauthorized variable enumeration attempts

How to Mitigate CVE-2025-4979

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.10.7, 17.11.3, or 18.0.1 depending on your current version branch
  • Review audit logs for potential exploitation attempts
  • Rotate any credentials or secrets stored in CI/CD variables as a precautionary measure
  • Assess which users have had access to CI/CD variable management interfaces

Patch Information

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

  • Version 17.10.7 for the 17.10.x branch
  • Version 17.11.3 for the 17.11.x branch
  • Version 18.0.1 for the 18.0.x branch

Additional technical details and discussion can be found in the GitLab Issue Discussion.

Workarounds

  • Restrict access to CI/CD variable management to only essential personnel until patching is complete
  • Consider temporarily migrating highly sensitive secrets to external secret management solutions
  • Implement network-level restrictions to limit access to GitLab's WebUI from untrusted networks
  • Enable additional audit logging to monitor for potential exploitation attempts

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.01%

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

  • NVD-CWE-noinfo
  • Technical References
  • GitLab Issue Discussion
  • Related CVEs
  • CVE-2026-1516: GitLab EE Information Disclosure Vulnerability

  • CVE-2025-9484: GitLab EE Information Disclosure Flaw

  • CVE-2026-1732: GitLab Information Disclosure Vulnerability

  • CVE-2025-12697: GitLab Information Disclosure 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