CVE-2024-4024 in Gitlab
An issue has been discovered in GitLab CE/EE affecting all versions starting from 7.8 before 16.9.6, all versions starting from 16.10 before 16.10.4, all versions starting from 16.11 before 16.11.1. Under certain conditions, an attacker with their Bitbucket account credentials may be able to take over a GitLab accou...
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 | ≥ 16.11, < 16.11.1 |
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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 7.8 before 16.9.6, all versions starting from 16.10 before 16.10.4, all versions starting from 16.11 before 16.11.1. Under certain conditions, an attacker with their Bitbucket account credentials may be able to take over a GitLab account linked to another user's Bitbucket account, if Bitbucket is used as an OAuth 2.0 provider on GitLab.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-4024 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-217470-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-04-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-287: Improper Authentication
Software does not prove or insufficiently proves that the user is who they claim to be.
CWE-302: CWE-302
Related attack patterns (CAPEC)
CAPEC-10 Buffer Overflow via Environment Variables via CWE-302
CAPEC-13 Subverting Environment Variable Values via CWE-302
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-302
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-302
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-287
Show all 18
CAPEC-274 HTTP Verb Tampering via CWE-302
CAPEC-633 Token Impersonation via CWE-287
CAPEC-650 Upload a Web Shell to a Web Server via CWE-287
CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-302
CAPEC-77 Manipulating User-Controlled Variables via CWE-302
CAPEC-194 Fake the Source of Data via CWE-287
CAPEC-593 Session Hijacking via CWE-287
CAPEC-21 Exploitation of Trusted Identifiers via CWE-302
CAPEC-22 Exploiting Trust in Client via CWE-287
CAPEC-94 Adversary in the Middle (AiTM) via CWE-287
CAPEC-114 Authentication Abuse via CWE-287
CAPEC-115 Authentication Bypass via CWE-287
CAPEC-151 Identity Spoofing via CWE-287
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in GitLab CE/EE allows an attacker with Bitbucket account credentials to potentially take over a GitLab account linked to another user's Bitbucket account via OAuth 2.0.
The attack involves an attacker using their own Bitbucket credentials to exploit a flaw in GitLab's OAuth 2.0 implementation, which could lead to unauthorized account takeover of a GitLab account linked to a different user's Bitbucket account.
Questions
What is CVE-2024-4024?
A vulnerability in GitLab CE/EE allows an attacker with Bitbucket account credentials to potentially take over a GitLab account linked to another user's Bitbucket account via OAuth 2.0.
What is the CVSS score for CVE-2024-4024?
CVE-2024-4024 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-2024-4024 actively exploited?
No confirmed active exploitation of CVE-2024-4024 as of 2026-09-25.
How do I remediate CVE-2024-4024?
Priority: IMMEDIATE. Advisory: https://gitlab.com/gitlab-org/gitlab/-/issues/452426
What systems are affected by CVE-2024-4024?
CVE-2024-4024 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 2026-06-17.