GitLab EE
CVE-2025-10871
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Project Maintainer
-
ExploitAccess custom role assignment feature
-
ExecutionAssign role exceeding own permissions
-
ImpactGain elevated privileges in project
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to already hold the Project Maintainer role on a GitLab EE/Ultimate project, and the instance must have the custom roles feature available and in use (an Enterprise Edition capability). The flaw is abused through the legitimate custom-role assignment workflow, so the limiting factors are: a pre-existing privileged (Maintainer) account per CVSS PR:H, use of GitLab EE rather than CE, and a version within the affected ranges (16.6 up to but excluding 18.2.7, 18.3.x before 18.3.3, 18.4.x before 18.4.1). No end-user interaction and no non-default exotic configuration beyond enabling custom roles is needed. |
| Impact | This is a privilege-escalation flaw (CWE-862, Missing Authorization) in GitLab EE where a Project Maintainer can assign custom roles carrying permissions beyond their own. The signals point to a moderate, insider-driven risk rather than an urgent fire: the CVSS 3.1 base score is 7.2 (High) with vector AV:N/AC:L/PR:H/UI:N, meaning network-reachable and low-complexity but requiring high privileges (an existing Project Maintainer). EPSS is very low at 0.02% (4th percentile), consistent with a vulnerability that is not broadly weaponizable because it presupposes a trusted, elevated account. The CVE is NOT in CISA KEV and no public exploit code is referenced, so there is no public exploit identified at time of analysis. There is no SSVC decision data provided. The PR:H requirement is the dominant mitigating factor and aligns the signals cleanly - high technical impact (C:H/I:H/A:H) but gated behind a privileged role, so this is a contained insider/abuse-of-trust issue rather than a mass-exploitation threat. One data caveat: the CPE list includes both community and enterprise editions, yet the description explicitly scopes the issue to GitLab EE (custom roles is an EE/Ultimate feature) - treat the community-edition CPE entries with skepticism and verify edition applicability with GitLab. |
| Exploit ScenarioDerived | A user holding the Project Maintainer role on a GitLab EE project uses the custom-roles assignment functionality to grant a target user (or themselves via a controlled account) a custom role whose permissions exceed those the Maintainer is entitled to delegate, thereby escalating privileges within the project. No special user interaction is required beyond the normal role-assignment workflow, and attack complexity is low (AC:L). No public proof-of-concept is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Privilege escalation in GitLab Enterprise Edition lets an authenticated Project Maintainer assign custom roles that carry permissions beyond their own, effectively granting themselves higher privileges. The flaw affects EE versions from 16.6 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1, and exploitation requires a pre-existing Maintainer account plus use of the EE custom roles feature. EPSS is low (0.02%, 4th percentile); no CISA KEV entry or public exploit code was present in the supplied intelligence at time of analysis.
Earlier versions of this analysis (1)
An issue has been discovered in GitLab EE affecting all versions from 16.6 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1. Rated low severity (CVSS 3.8), this vulnerability is remotely exploitable, low attack complexity. No vendor patch available.
RemediationAI
Vendor-released patch: upgrade to GitLab EE 18.2.7, 18.3.3, or 18.4.1 depending on the deployed minor line; these are the first fixed versions above the affected ranges. Before upgrading, audit existing custom roles and role assignments for permissions that exceed the assigning Maintainer's rights, and review Maintainer membership on projects that use custom roles. As a compensating control, temporarily centralize custom-role creation and assignment with instance or group administrators, accepting the trade-off of reduced delegated role management and added administrative overhead. Advisory: https://gitlab.com/gitlab-org/gitlab/-/issues/569482.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GitLab EE's custom roles feature extends the standard role model by allowing project or group owners to define roles with granular permissions. CWE-862 (Missing Authorization) indicates the application fails to verify that a Maintainer assigning a custom role possesses every permission contained in that role before assignment. Because custom roles are an Enterprise Edition capability, the exposure is concentrated in EE/Ultimate deployments, although CPE data also lists GitLab Community Edition strings for the affected version ranges. The supplied CVSS vector is CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, meaning network reachability, low attack complexity, high privileges required, no user interaction, and high confidentiality, integrity, and availability impact. CPE entries cover gitlab:gitlab community and enterprise editions, with explicit 18.4.0 entries, consistent with the version ranges in the advisory.
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Exploited over the GitLab web interface (AV:N, AC:L) by an existing Project Maintainer (PR:H), no user interaction, yielding full project privilege escalation (C/I/A:H).
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
An issue has been discovered in GitLab EE affecting all versions from 16.6 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1. Project Maintainers can exploit a vulnerability where they can assign custom roles to users with permissions exceeding their own, effectively granting themselves elevated privileges.
Executive ViewAI
GitLab Enterprise Edition contains a high-severity privilege-escalation flaw that could allow an existing Project Maintainer to use custom roles to obtain permissions beyond their authorized level, weakening least-privilege and separation-of-duties controls in affected deployments. The issue affects EE versions 16.6 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1, and requires a pre-existing Maintainer account plus use of the custom roles feature; no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis. Leadership should care because trusted project-level users could expand their access to sensitive code, pipelines, or project settings, so exposure should be scoped and contained through access reviews and feature restrictions.
Disable or restrict the GitLab EE custom roles feature; limit and audit Project Maintainer accounts; review custom role permissions to ensure they do not exceed Maintainer scope; enforce least privilege and separation of duties; monitor audit logs for privilege or role changes; remove unnecessary Maintainer access until a vendor patch is available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)NVD
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
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.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
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)
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
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
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
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
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB