SecurityContext

CVE-2021-39937: GitLab - Privilege Escalation

  • Cve: CVE-2021-39937
  • Name: GitLab - Privilege Escalation
  • Description: A collision in access memoization logic in all versions of GitLab CE/EE before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, leads to potential elevated privileges in groups and projects under rare circumstances
  • Impact: Attackers may escalate privileges in groups and projects, potentially gaining unauthorized access or control.
  • Remediation: Update to GitLab version 14.3.6, 14.4.4, or 14.5.2 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00809
  • Epss percentile: 0.57639
  • Assignee: [email protected]
  • Published at: 2021-12-13T16:15:09Z
  • Age in days: 1807
  • Modified at: 2026-06-17T04:04:27Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39937
  • 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
  • Not known: requirements, hackerone

Cwe

IdName
CWE-269Improper Privilege Management

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39937.jsonnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 14.5.0, < 14.5.2; >= 14.4.0, < 14.4.4; < 14.3.6nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • 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, hackerone reports