CVE-2021-39890
GitLab vulnerability analysis and mitigation

Overview

A critical security vulnerability (CVE-2021-39890) was identified in GitLab versions 14.1.1 and above, allowing attackers to bypass Two-Factor Authentication (2FA) for LDAP users and access specific pages using Basic Authentication. The vulnerability was disclosed on December 6, 2021, affecting multiple GitLab versions including GitLab 14.1.1 through 14.1.7, 14.2 through 14.2.5, and 14.3 through 14.3.1 (Ubuntu CVE, MITRE CVE).

Technical details

The vulnerability received a CVSS v3.1 base score of 9.8 (Critical), indicating its severe nature. The attack vector is network-based, requires low attack complexity, needs no privileges or user interaction, and has an unchanged scope. The vulnerability can potentially result in high impact on confidentiality, integrity, and availability. The CVSS vector string is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Ubuntu CVE).

Impact

The vulnerability could allow unauthorized access to protected GitLab resources by bypassing 2FA security measures specifically for LDAP users. This could potentially lead to unauthorized access to sensitive information, modification of data, and system compromise, as indicated by the high impact ratings for confidentiality, integrity, and availability (Ubuntu CVE).

Mitigation and workarounds

The vulnerability has been fixed in GitLab versions 14.3.1, 14.2.5, and 14.1.7. Users are advised to upgrade to these or later versions to mitigate the security risk (Debian Security).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2024-9183MEDIUM6.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesDec 05, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management