CVE-2022-3740: GitLab - Authorization Bypass
- Cve: CVE-2022-3740
- Name: GitLab - Authorization Bypass
- Description: An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.9 prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. A group owner may be able to bypass External Authorization check, if it is enabled, to access git repositories and package registries by using Deploy tokens or Deploy keys .
- Impact: Group owners can access repositories and package registries without proper authorization, risking unauthorized data access.
- Remediation: Update to GitLab version 15.3.5, 15.4.4, or 15.5.2 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs to be a group owner with privileges
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.0115
- Epss percentile: 0.67705
- Assignee: [email protected]
- Published at: 2023-01-26T21:15:58Z
- Age in days: 1398
- Modified at: 2026-06-17T05:00:12Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-3740
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
| CWE-285 | Improper Authorization |
Hackerone
- Reports: 2
- Rank: 1948
References
| Url | Source | Tags |
|---|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3740.json | nvd | Vendor Advisory |
| https://hackerone.com/reports/1602904 | nvd | Permissions Required, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | = 15.6.0; >= 15.5.0, < 15.5.5; >= 12.9.0, < 15.4.6 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 2
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since