CVE-2021-22250
GitLab vulnerability analysis and mitigation

Overview

Improper authorization in GitLab CE/EE affecting all versions since 13.3 allowed users to view and delete impersonation tokens that administrators created for their account. The vulnerability was discovered and reported through GitLab's HackerOne bug bounty program by researcher @jimeno and was assigned CVE-2021-22250. The issue was patched in GitLab versions 14.1.2, 14.0.7, and 13.12.9 released on August 3, 2021 (GitLab Security Release).

Technical details

The vulnerability allowed regular users to list and delete impersonation tokens created for their accounts by administrators, which should have been restricted to administrator access only. The issue could be exploited by using the GitLab API with a personal access token to list and subsequently delete impersonation tokens. This vulnerability was rated as medium severity with a CVSS score of 5.4 (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) (GitLab Security Release).

Impact

The vulnerability allowed unauthorized users to view when an administrator had created an impersonation token for their account and gave them the ability to revoke these administrator-created tokens. This could potentially disrupt administrative access and monitoring capabilities that relied on impersonation tokens (GitLab Issue).

Mitigation and workarounds

The vulnerability was fixed in GitLab versions 14.1.2, 14.0.7, and 13.12.9. Organizations were strongly recommended to upgrade to these versions immediately. The fix restricted the ability to view and manage impersonation tokens to administrators only, as originally intended (GitLab Security 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-12571HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • 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