Improper Access Control in GitLab EE Affects User Management

4.2MEDIUM

CVE-2021-22240

Key Information:

Vendor

Gitlab

Status
CVE ID
CVE ID:
CVE-2021-22240
Vendor
CVE Published:
5 August 2021
Fixed in
Fixed in:
13.7, 13.11.6, 13.12, 13.12.6, 14.0, 14.0.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
GitLab EE >=13.7, <13.11.6 to below 13.7, 13.11.6 is vulnerable
GitLab EE >=13.12, <13.12.6 to below 13.12, 13.12.6 is vulnerable
GitLab EE >=14.0, <14.0.2 to below 14.0, 14.0.2 is vulnerable

Install the GitLab EE release that fixes your version line, or later:

13.7, 13.11.613.12, 13.12.614.0, 14.0.2
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach GitLab EE. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (4.2).

What is CVE-2021-22240?

An improper access control vulnerability in GitLab EE versions 13.11.6, 13.12.6, and 14.0.2 allows unauthorized user creation via single sign-on, even when user caps are enforced. This could potentially lead to security risks by allowing unauthorized access to the system.

References

Integer Overflow Vulnerability in GitLab CE/EE Affects Multiple Versions

CVE-2026-110264
GitlabGitlab😄👾10CRITICAL

Arbitrary Code Execution Vulnerability in GitLab CE/EE

CVE-2026-97229
GitlabGitlab😄👾10CRITICAL

Arbitrary Command Execution Vulnerability in GitLab AI Gateway Component

CVE-2026-90970
GitlabGitlab Ai Gateway9.9CRITICAL
View more Gitlab vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
4.2
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Thanks bingomzan for reporting this vulnerability through our HackerOne bug bounty program
.