Skip to main content

Gitlab CVE-2026-2995

| EUVDEUVD-2026-15811 HIGH
Basic XSS (CWE-80)
2026-03-25 GitLab GHSA-3qcv-5pqj-c2h7
7.7
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to GitLab EE as low-privileged user
  2. Delivery
    Craft malicious HTML with unsanitized email injection
  3. Exploit
    Submit crafted content requiring user interaction
  4. Execution
    HTML improperly sanitized in processing
  5. Persist
    Add unauthorized email to target account
  6. Impact
    Gain account access or privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

GitLab Enterprise Edition versions 15.4-18.8.6, 18.9.0-18.9.2, 18.10.0. Requires authenticated user account. Victim must click attacker-crafted link exploiting improper HTML sanitization in email address addition functionality.

Impact

The CVSS score of 7.7 (High) reflects the serious nature of this vulnerability, though the AC:H (high attack complexity) and UI:R (user interaction required) factors provide some mitigation against mass exploitation. The vulnerability requires an authenticated attacker with low privileges (PR:L) to craft malicious content that a victim must interact with, limiting automated exploitation. However, the changed scope (S:C) and high confidentiality and integrity impacts (C:H/I:H) indicate successful exploitation could lead to account compromise. The public availability of a proof-of-concept on HackerOne significantly elevates risk, as threat actors can reproduce the attack. For organizations running affected GitLab EE versions, this represents a genuine priority requiring prompt patching, particularly for internet-facing instances with external users. The email address manipulation capability could enable sophisticated social engineering attacks, account takeover preparation, or privilege escalation chains.

Exploit ScenarioDerived

An authenticated attacker with a low-privileged GitLab account crafts a malicious comment, issue description, or merge request containing specially formatted HTML that exploits the sanitization flaw. When a victim user with higher privileges views this content and interacts with it, the XSS payload executes in their browser context, allowing the attacker to silently add their own controlled email address to the victim's account profile. With access established via the added email, the attacker can then initiate password reset flows or receive sensitive notifications, ultimately leading to full account takeover of privileged GitLab users.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 25, 2026

Improper HTML sanitization in GitLab EE versions 15.4-18.10.1 allows authenticated users to add email addresses to arbitrary user accounts, potentially enabling account takeover or unauthorized access escalation. Public exploit code exists for this vulnerability, and no patch is currently available. Affected deployments should implement access controls to restrict user modification privileges until updates become available.

Earlier versions of this analysis (1)
v1 Mar 25, 2026 - 16:47 CVSS 7.7

An improper HTML sanitization vulnerability (CWE-80) in GitLab Enterprise Edition allows authenticated users with low privileges to add arbitrary email addresses to targeted user accounts through cross-site scripting. GitLab EE versions from 15.4 through 18.8.6, 18.9 through 18.9.2, and 18.10 through 18.10.0 are affected. A proof-of-concept exploit is publicly available via HackerOne report 3564600, indicating this vulnerability has been actively researched and can be reproduced.

RemediationAI

Upgrade GitLab Enterprise Edition immediately to version 18.8.7 or later for the 18.8 series, version 18.9.3 or later for the 18.9 series, or version 18.10.1 or later for the 18.10 series as documented in the patch release at https://about.gitlab.com/releases/2026/03/25/patch-release-gitlab-18-10-1-released/. Organizations unable to patch immediately should implement compensating controls including strict Content Security Policy headers to mitigate XSS risks, restrict user registration to trusted domains, enable two-factor authentication for all accounts to prevent account takeover even if email addresses are manipulated, and monitor audit logs for suspicious email address modifications. Review existing user email addresses for unauthorized additions and implement additional input validation at the web application firewall level to filter XSS patterns until patching is complete.

Affected VersionsENISA

GitLab 15.4 <18.8.7
GitLab 18.10 <18.10.1
GitLab 18.9 <18.9.3

Affected Packages

euvd gitlab fix: 18.8.7, 18.9.3, 18.10.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects GitLab Enterprise Edition (CPE cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*) and is rooted in CWE-80, which describes improper neutralization of script-related HTML tags in web pages. The flaw stems from insufficient sanitization of HTML content within GitLab's email management functionality, allowing specially crafted payloads to bypass input validation. When executed in the context of another user's session, the XSS vulnerability enables an attacker to perform privileged actions such as adding email addresses to victim accounts, potentially facilitating account takeover scenarios. The cross-site scope (S:C in CVSS vector) indicates the vulnerability can affect resources beyond the vulnerable component's security scope.

Know when Gitlab gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.7 HIGH
AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Updated
Apr 16, 2026 - 06:14 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
18.8.7,18.10.1,18.9.3
PoC Detected
Mar 26, 2026 - 17:42 vuln.today
Public exploit code
CVE Published
Mar 25, 2026 - 16:33 nvd
HIGH 7.7

DescriptionCVE.org

GitLab has remediated an issue in GitLab EE affecting all versions from 15.4 before 18.8.7, 18.9 before 18.9.3, and 18.10 before 18.10.1 that could have allowed an authenticated user to add email addresses to targeted user accounts due to improper sanitization of HTML content.

Executive ViewAI

Why It Matters

GitLab EE versions 15.4 through 18.10.1 contain an HTML sanitization flaw that allows authenticated users to add email addresses to arbitrary accounts, creating a direct path to account takeover and privilege escalation. Organizations running affected versions face immediate risk of unauthorized administrative access and data compromise through legitimate user accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Implement interim mitigations: restrict user modification privileges to designated administrators only; disable or restrict API endpoints that allow email address changes; monitor and log all user account modifications for rapid incident detection; implement multi-factor authentication on all administrative and privileged accounts to reduce takeover impact.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Related Vulnerabilities in GitLab CE/EE Authorization Issues

View all 3

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

CVE-2026-93577 CRITICAL POC
9.9 Sep 23

Authenticated code execution on the GitLab server is possible in GitLab CE/EE 19.2 through 19.4.0, where an integer over

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy