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
    • 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-2026-2995

CVE-2026-2995: GitLab Auth Bypass Vulnerability

CVE-2026-2995 is an authentication bypass vulnerability in GitLab EE that allows authenticated users to add email addresses to targeted accounts. This post covers the technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-2995 Overview

A Cross-Site Scripting (XSS) vulnerability has been identified in GitLab Enterprise Edition (EE) that allows an authenticated user to add email addresses to targeted user accounts through improper sanitization of HTML content. This vulnerability stems from inadequate input validation in the HTML processing components of GitLab, enabling attackers to manipulate user account data.

Critical Impact

Authenticated attackers can exploit improper HTML sanitization to inject malicious content and modify email addresses on targeted user accounts, potentially leading to account takeover or phishing attacks.

Affected Products

  • GitLab Enterprise Edition versions 15.4 through 18.8.6
  • GitLab Enterprise Edition versions 18.9.0 through 18.9.2
  • GitLab Enterprise Edition version 18.10.0

Discovery Timeline

  • 2026-03-25 - CVE-2026-2995 published to NVD
  • 2026-03-25 - GitLab releases security patch (versions 18.8.7, 18.9.3, and 18.10.1)
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-2995

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting) and CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page). The core issue lies in GitLab's HTML content processing pipeline, where user-supplied input is not properly sanitized before being rendered or processed by the application.

The attack requires authentication (low privileges) and some user interaction, but operates through a network-accessible vector. When exploited, the vulnerability affects the confidentiality and integrity of the application by enabling unauthorized modifications to user account email addresses. The scope is changed, meaning the vulnerable component impacts resources beyond its security scope.

Root Cause

The root cause of CVE-2026-2995 is improper sanitization of HTML content within GitLab EE. The application fails to adequately neutralize script-related HTML tags and special characters before processing user input, allowing malicious HTML content to bypass security controls. This inadequate sanitization enables authenticated users to inject crafted HTML payloads that manipulate the email address assignment functionality for other user accounts.

Attack Vector

The attack is executed over the network by an authenticated user with standard privileges. The attacker crafts malicious HTML content containing payloads designed to exploit the sanitization weakness. When this content is processed by GitLab, it bypasses the intended security controls and allows the attacker to add email addresses to accounts belonging to other users.

This type of attack could be leveraged for:

  • Account takeover through email-based password reset mechanisms
  • Phishing attacks targeting specific users within the GitLab instance
  • Establishing persistence by adding attacker-controlled email addresses to privileged accounts

The vulnerability requires user interaction, suggesting the malicious payload must be viewed or processed by another user or administrator for the email injection to occur.

Detection Methods for CVE-2026-2995

Indicators of Compromise

  • Unexpected email address additions to user accounts, particularly privileged or administrative accounts
  • Unusual HTML content in user-generated fields such as comments, descriptions, or profile sections
  • Authentication logs showing password reset requests initiated from newly added, unrecognized email addresses
  • User reports of receiving unexpected account verification emails

Detection Strategies

  • Monitor GitLab audit logs for email address modifications, especially those affecting multiple accounts or privileged users
  • Implement web application firewall (WAF) rules to detect and block HTML injection patterns in user input
  • Review application logs for anomalous HTML parsing errors or sanitization bypass attempts
  • Deploy Content Security Policy (CSP) headers to mitigate the impact of successful XSS exploitation

Monitoring Recommendations

  • Enable and regularly review GitLab's built-in audit events for user account modifications
  • Configure alerting for bulk email address changes or additions across user accounts
  • Monitor for suspicious login patterns from newly associated email addresses
  • Implement real-time log analysis for HTML injection signatures in user input fields

How to Mitigate CVE-2026-2995

Immediate Actions Required

  • Upgrade GitLab EE to patched versions: 18.8.7, 18.9.3, or 18.10.1 immediately
  • Review user accounts for unauthorized email address additions and remove any suspicious entries
  • Audit recent account activity for signs of exploitation, particularly password reset attempts
  • Consider temporarily restricting user permissions to modify account settings until patches are applied

Patch Information

GitLab has released patched versions addressing this vulnerability. Organizations should upgrade to the following versions based on their current deployment:

Current Version RangeUpgrade To
15.4 - 18.8.618.8.7
18.9.0 - 18.9.218.9.3
18.10.018.10.1

For detailed patch information and upgrade instructions, refer to the GitLab Patch Release Announcement. Additional technical details are available in the GitLab Work Item #591065 and HackerOne Report #3564600.

Workarounds

  • Implement strict Content Security Policy (CSP) headers to limit the impact of XSS attacks
  • Deploy a web application firewall (WAF) with rules to filter HTML injection attempts
  • Restrict access to user account modification features to trusted administrators only
  • Enable multi-factor authentication (MFA) to add additional protection against account takeover
  • Monitor and alert on email address changes through external audit log analysis
bash
# Verify GitLab version after upgrade
gitlab-rake gitlab:env:info | grep -i version

# Check for unauthorized email additions (query Rails console)
# gitlab-rails console
# User.where("updated_at > ?", 7.days.ago).select(:id, :email, :secondary_emails)

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

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-80

  • CWE-79
  • Technical References
  • GitLab Work Item #591065

  • HackerOne Report #3564600
  • Vendor Resources
  • GitLab Patch Release Announcement
  • Related CVEs
  • CVE-2026-5173: GitLab Auth Bypass Vulnerability

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

  • CVE-2026-2104: GitLab Auth Bypass Vulnerability

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