CVE-2025-2242 in Gitlab
An improper access control vulnerability in GitLab CE/EE affecting all versions from 17.4 prior to 17.8.6, 17.9 prior to 17.9.3, and 17.10 prior to 17.10.1 allows a user who was an instance admin before but has since been downgraded to a regular user to continue to maintain elevated privileges to groups and projects.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gitlab | Gitlab | 17.10.0 ≥ 17.4.0, < 17.8.6 ≥ 17.9.0, < 17.9.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An improper access control vulnerability in GitLab CE/EE affecting all versions from 17.4 prior to 17.8.6, 17.9 prior to 17.9.3, and 17.10 prior to 17.10.1 allows a user who was an instance admin before but has since been downgraded to a regular user to continue to maintain elevated privileges to groups and projects.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-2242 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-250580-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-03-27 |
| Last modified | 2025-08-13 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
An improper access control vulnerability in GitLab CE/EE allows a former instance admin to retain elevated privileges after being downgraded to a regular user.
An attacker who was previously an instance admin but has been demoted can exploit this vulnerability to maintain administrative access to groups and projects, potentially leading to unauthorized access and manipulation of data.
Questions
What is CVE-2025-2242?
An improper access control vulnerability in GitLab CE/EE allows a former instance admin to retain elevated privileges after being downgraded to a regular user.
What is the CVSS score for CVE-2025-2242?
CVE-2025-2242 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2025-2242 actively exploited?
No confirmed active exploitation of CVE-2025-2242 as of 2026-05-30.
How do I remediate CVE-2025-2242?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-2242?
CVE-2025-2242 affects Gitlab Gitlab.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gitlab","product":"Gitlab","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-08-13.