Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-39937
GitLab vulnerability analysis and mitigation

Overview

A collision in access memoization logic was discovered in GitLab CE/EE affecting all versions before 14.3.6, versions from 14.4 before 14.4.4, and versions from 14.5 before 14.5.2. The vulnerability could lead to potential elevated privileges in groups and projects under rare circumstances (GitLab Security Release, NVD).

Technical details

The vulnerability stems from a collision in access memoization logic where the BulkMemberAccessLoad concern did not properly differentiate memoization indexes across models. The issue received a CVSS v3.1 base score of 8.8 (HIGH) from NVD and 5.9 (MEDIUM) from GitLab Inc. The vulnerability is tracked as CWE-269 (Improper Privilege Management) (NVD).

Impact

The vulnerability could allow attackers to gain elevated privileges in groups and projects under specific circumstances. The memoization issue meant that if access was checked for a group with a certain ID, the same access level could be incorrectly applied to a project with the same ID in the same request, potentially granting unauthorized access (GitLab Security Release).

Exploitability

The vulnerability was discovered internally by the GitLab team. While the vulnerability required specific conditions to be exploited, it could be triggered through normal application usage when accessing groups and projects with matching IDs (GitLab Security Release).

Mitigation and workarounds

The vulnerability was fixed in GitLab versions 14.3.6, 14.4.4, and 14.5.2. Users are strongly recommended to upgrade to one of these patched versions immediately. GitLab.com was already running the patched version at the time of disclosure (GitLab Security Release).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Arch Linux

Fixed

rolling

gitlab: 14.5.2-1

Fixed

SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-79708HIGH8.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-78252HIGH8.2
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-86341MEDIUM4.4
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-8030MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-7514MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026

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