PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-13286: 
GitLab vulnerability analysis and mitigation

Overview

A Server-Side Request Forgery (SSRF) vulnerability was discovered in GitLab versions 12.7 through 13.2.2, identified as CVE-2020-13286. The vulnerability was related to user-controlled git configuration settings when importing repositories via URL. This security issue was discovered and responsibly reported by security researcher @vakzz (GitLab Release).

Technical details

The vulnerability existed in GitLab's repository import functionality where the git http configuration settings could be manipulated through the import URL. When importing a repository with credentials via URL, GitLab's Gitaly component would generate a git clone command with a -c flag to add the Authorization header. However, the URL could contain HTTP config values from git-config documentation, allowing an attacker to set configurations like http.proxy instead of the intended extraHeader setting (GitLab Issue).

Impact

The vulnerability allowed attackers to perform Server-Side Request Forgery (SSRF) attacks by manipulating the git configuration settings. This could potentially enable attackers to send unauthorized requests to internal services or external systems using GitLab's server as a proxy (GitLab Issue).

Exploitability

The vulnerability could be exploited by creating a project with a specially crafted import URL that manipulated git configuration settings. The attacker could set values like http.proxy, which would allow them to route requests through arbitrary proxy servers, potentially accessing internal resources or performing SSRF attacks (GitLab Issue).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 13.2.3, 13.1.6, and 13.0.12. Users running affected versions were strongly recommended to upgrade to these patched versions immediately to address the security issue (GitLab Release).

Additional resources


Source: This report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-110264CRITICAL10
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-16255NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-15723NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-14288NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 2026
CVE-2026-13319NONEN/A
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 21, 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