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-2025-5982

CVE-2025-5982: GitLab IP Restriction Bypass Vulnerability

CVE-2025-5982 is an IP access restriction bypass vulnerability in GitLab EE that allows users to view sensitive information. This post covers the technical details, affected versions, impact, and mitigation steps.

Published: April 21, 2026

CVE-2025-5982 Overview

An IP access restriction bypass vulnerability has been discovered in GitLab Enterprise Edition (EE) that affects a wide range of versions spanning from 12.0 to current releases. Under certain conditions, authenticated or unauthenticated users could circumvent IP-based access controls, potentially gaining unauthorized access to sensitive information within GitLab repositories and projects. This vulnerability poses a significant risk to organizations relying on IP allowlisting as a security control for their GitLab instances.

Critical Impact

Attackers can bypass IP access restrictions to view sensitive repository contents, project data, and potentially confidential information that should be protected by network-based access controls.

Affected Products

  • GitLab Enterprise Edition versions 12.0 before 17.10.8
  • GitLab Enterprise Edition versions 17.11 before 17.11.4
  • GitLab Enterprise Edition versions 18.0 before 18.0.2

Discovery Timeline

  • 2025-06-12 - CVE-2025-5982 published to NVD
  • 2025-08-12 - Last updated in NVD database

Technical Details for CVE-2025-5982

Vulnerability Analysis

This vulnerability is classified under CWE-1220 (Insufficient Granularity of Access Control), indicating a fundamental weakness in how GitLab EE implements and enforces IP-based access restrictions. The flaw allows attackers to access protected resources from IP addresses that should be blocked according to the configured access policies.

GitLab EE provides IP access restriction features that allow administrators to limit access to specific IP ranges or CIDR blocks. This security control is commonly used to restrict access to internal networks, VPNs, or specific geographic locations. The vulnerability undermines this security mechanism, making IP-based restrictions ineffective under certain operational conditions.

The network-based attack vector with no authentication requirements means that external attackers can potentially exploit this vulnerability from any network location, defeating the purpose of IP allowlisting configurations.

Root Cause

The vulnerability stems from insufficient granularity of access control in GitLab EE's IP restriction validation logic. Certain request paths or conditions fail to properly validate the originating IP address against configured access restrictions, creating a bypass scenario. This represents a breakdown in the consistency of security checks across different application endpoints or request types.

Attack Vector

The attack is network-based and can be executed remotely without requiring any authentication or user interaction. An attacker needs to identify the specific conditions under which the IP validation is not properly enforced and craft requests that exploit this gap. Successful exploitation results in unauthorized access to confidential data that should be protected by IP-based access controls.

The vulnerability mechanism involves sending requests through specific endpoints or under particular conditions where the IP validation logic fails to execute properly. For detailed technical information, refer to the GitLab Issue Discussion.

Detection Methods for CVE-2025-5982

Indicators of Compromise

  • Successful authentication or data access events originating from IP addresses outside configured allowlists
  • Unusual access patterns to sensitive repositories from unexpected geographic locations
  • Audit log entries showing access from blocked IP ranges that should have been denied
  • Anomalous API request patterns that may indicate bypass attempts

Detection Strategies

  • Review GitLab audit logs for access events from IP addresses not in configured allowlists
  • Implement secondary network-level monitoring to correlate GitLab access with firewall logs
  • Configure alerts for any successful access events from IP ranges outside organizational boundaries
  • Deploy web application firewall (WAF) rules to monitor for unusual request patterns

Monitoring Recommendations

  • Enable comprehensive audit logging in GitLab EE for all authentication and access events
  • Implement network flow analysis to detect connections from unexpected source IPs
  • Set up real-time alerting for access to high-sensitivity projects from unusual locations
  • Regularly review and correlate GitLab access logs with expected IP access patterns

How to Mitigate CVE-2025-5982

Immediate Actions Required

  • Upgrade GitLab EE to patched versions: 17.10.8, 17.11.4, or 18.0.2 or later
  • Review recent audit logs for any evidence of exploitation or unauthorized access
  • Implement additional network-layer access controls as defense in depth
  • Assess what sensitive data may have been exposed if exploitation occurred
  • Consider temporarily restricting external access until patches are applied

Patch Information

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

  • GitLab EE 17.10.8 - For organizations on the 17.10.x branch
  • GitLab EE 17.11.4 - For organizations on the 17.11.x branch
  • GitLab EE 18.0.2 - For organizations on the 18.0.x branch

For additional details and patch verification, consult the GitLab Issue Discussion.

Workarounds

  • Implement network-layer IP restrictions using firewalls or cloud security groups as a secondary control
  • Deploy a reverse proxy or WAF with IP filtering capabilities in front of GitLab
  • Enable additional authentication factors (MFA) to reduce impact of access control bypass
  • Temporarily disable external network access to GitLab until patching is complete
bash
# Example: Network-layer IP restriction using iptables as secondary control
# Restrict GitLab access to specific IP ranges at the firewall level
iptables -A INPUT -p tcp --dport 443 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -s 192.168.0.0/16 -j ACCEPT
iptables -A INPUT -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

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

  • NVD-CWE-noinfo
  • Technical References
  • GitLab Issue Discussion
  • Related CVEs
  • CVE-2026-8144: GitLab CE/EE Auth Bypass Vulnerability

  • CVE-2026-6883: GitLab EE Auth Bypass Vulnerability

  • CVE-2026-4524: GitLab CE/EE Auth Bypass Vulnerability

  • CVE-2026-3607: GitLab CE/EE 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