CVE-2022-0244
GitLab vulnerability analysis and mitigation

Overview

An arbitrary file read vulnerability was discovered in GitLab CE/EE affecting all versions starting with 14.5. The vulnerability, identified as CVE-2022-0244, allowed unauthorized access to read arbitrary files through the group import feature due to incorrect file handling. The issue was discovered in January 2022 and was promptly addressed in GitLab's security release (GitLab Release).

Technical details

The vulnerability existed in GitLab's bulk imports API, specifically in the UploadsPipeline component. The issue stemmed from the system's failure to remove symlinks when processing the uploads.tar.gz file during group imports. When extracting uploaded files, the untar_zxf function only changed permissions without properly handling symlinks, allowing them to remain in the extracted file paths. This oversight meant that symlinks would be followed and used as content for new files during the import process (GitLab Issue).

Impact

The vulnerability allowed attackers to read any file that the git user had read access to on the GitLab server. This included sensitive files such as secrets.yml and other configuration files containing critical system information. The issue received a CVSS score of 8.6 (Critical severity) with the vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N (GitLab Release).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 14.6.2, 14.5.3, and 14.4.5. GitLab strongly recommended that all installations running affected versions be upgraded to the latest version immediately. The fix involved proper handling of symlinks during the group import process (GitLab Release).

Community reactions

The vulnerability was initially reported through GitLab's HackerOne bug bounty program by security researcher 'vakzz'. GitLab responded promptly by releasing security patches and assigning it a critical severity rating, demonstrating their commitment to addressing security issues (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-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