CVE-2021-39866
GitLab vulnerability analysis and mitigation

Overview

A business logic error was discovered in GitLab versions 13.6 and later that allows persistent access via project access tokens even after project deletion. The vulnerability was assigned identifier CVE-2021-39866 and was disclosed on September 30, 2021. This vulnerability affects both GitLab Community Edition (CE) and Enterprise Edition (EE) installations (GitLab Release).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS v3.1 base score of 5.4 (MEDIUM) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. The issue stems from a business logic error in the project deletion process where project access tokens remain valid and usable even after the associated project has been deleted (NVD).

Impact

When exploited, this vulnerability allows continued access to GitLab resources through project access tokens that should have been invalidated during the project deletion process. This creates a potential security risk where unauthorized users may retain access to system resources that should have been revoked (GitLab Release).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 14.3.1, 14.2.5, and 14.1.7. Users are strongly recommended to upgrade to one of these patched versions immediately to mitigate the risk (GitLab Release).

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-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 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