CVE-2022-0154
GitLab vulnerability analysis and mitigation

Overview

GitLab was discovered to have a vulnerability (CVE-2022-0154) affecting all versions from 7.7 before 14.4.5, versions 14.5.0 before 14.5.3, and versions 14.6.0 before 14.6.2. The vulnerability was related to a Cross-Site Request Forgery (CSRF) attack that allowed malicious users to have their GitHub project imported on another GitLab user account. The issue was disclosed on January 11, 2022, and affected both GitLab Community Edition (CE) and Enterprise Edition (EE) (GitLab Release, CERT-EU).

Technical details

The vulnerability was classified as a high severity issue with a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. The core issue stemmed from the lack of a state parameter in the GitHub import project OAuth functionality, which made it susceptible to Cross-Site Request Forgery attacks. The vulnerability was categorized under CWE-352 (Cross-Site Request Forgery) (NVD).

Impact

The vulnerability allowed attackers to connect their GitHub account to a victim's GitLab import project function indefinitely. Once exploited, there was no option to disconnect the GitHub account from this function, potentially leading to unauthorized project imports and account manipulation (CERT-EU).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 14.6.2, 14.5.3, and 14.4.5. Users were strongly recommended to upgrade to these versions immediately. GitLab.com was already running the patched version at the time of disclosure (GitLab Release).

Community reactions

The vulnerability was initially reported through GitLab's HackerOne bug bounty program by researcher aryan2808. GitLab addressed this security issue as part of their regular security release cycle, demonstrating their commitment to maintaining strong security standards (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