CVE-2021-22186
GitLab vulnerability analysis and mitigation

Overview

An authorization issue was discovered in GitLab CE/EE version 9.4 and up that allowed group maintainers to modify group CI/CD variables, which should have been restricted to group owners only. The vulnerability was disclosed on March 4, 2021, and was assigned the identifier CVE-2021-22186 (GitLab Release, NVD).

Technical details

The vulnerability represents a privilege escalation issue where group maintainers could access and modify group-level CI/CD variables through the GitLab API, despite this functionality being intended only for group owners. The vulnerability has been assigned a CVSS v3.1 score of 4.9 (MEDIUM) and a CVSS v2.0 score of 4.0 (MEDIUM), indicating moderate severity (NVD).

Impact

The vulnerability allowed group maintainers to bypass intended access controls and manage group-level CI/CD variables, which could potentially lead to unauthorized access to sensitive configuration data and compromise the security of CI/CD pipelines (GitLab Issue).

Mitigation and workarounds

The vulnerability was patched in GitLab security releases 13.9.2, 13.8.5, and 13.7.8. GitLab strongly recommended that all installations running affected versions be upgraded to the latest version immediately (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-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2024-9183MEDIUM6.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
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