CVE-2021-22190
GitLab vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2021-22190) was discovered in all versions of GitLab via the GitLab Workhorse component that could result in the leakage of a JWT token. The vulnerability was reported through GitLab's HackerOne bug bounty program by researcher @ledz1996 and was publicly disclosed on March 4, 2021 (GitLab Release).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - 'Path Traversal'). It received a CVSS v3.1 base score of 6.5 (MEDIUM) from NIST with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, indicating network accessibility, low attack complexity, and high confidentiality impact (NVD).

Impact

The vulnerability could lead to the exposure of JWT (JSON Web Token) tokens, potentially compromising authentication and authorization mechanisms within GitLab installations (GitLab Release).

Mitigation and workarounds

GitLab addressed this vulnerability in versions 13.9.2, 13.8.5, and 13.7.8 for both Community Edition (CE) and Enterprise Edition (EE). Users are strongly recommended to upgrade to these patched versions 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-8405HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12029HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-11984MEDIUM6.8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-4097MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12734LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 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