CVE-2021-39904: GitLab - Broken Access Control
- Cve: CVE-2021-39904
- Name: GitLab - Broken Access Control
- Description: An Improper Access Control vulnerability in the GraphQL API in all versions of GitLab CE/EE starting from 13.1 before 14.2.6, all versions starting from 14.3 before 14.3.4, and all versions starting from 14.4 before 14.4.1 allows a Merge Request creator to resolve discussions and apply suggestions after a project owner has locked the Merge Request
- Impact: Unauthorized Merge Request resolution and suggestion application, potentially disrupting project review processes.
- Remediation: Update to GitLab version 14.2.6, 14.3.4, or 14.4.1 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated as a Merge Request creator
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00842
- Epss percentile: 0.58683
- Assignee: [email protected]
- Published at: 2021-11-05T00:15:10Z
- Age in days: 1845
- Modified at: 2026-06-17T04:04:23Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39904
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gitlab.com/gitlab-org/gitlab/-/issues/295298 | nvd | 2021-11-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39904.json | Vendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/issues/295298 | Exploit, Issue Tracking, Vendor Advisory |
| https://hackerone.com/reports/1063420 | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | >= 14.3.0, < 14.3.4; >= 13.1.0, < 14.2.6 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-11-05
- Remote: yes
- Authentication required: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports