BLACKOUT MAP

GitLab · Community and Enterprise Editions

CVE-2021-22205

GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Exploited in attacks Used by ransomware Critical 10.0 Attack chance: 99.7%
Share

What it is

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.

CISA: GitHub Community and Enterprise Editions that utilize the ability to upload images through GitLab Workhorse are vulnerable to remote code execution. Workhorse passes image file extensions through ExifTool, which improperly validates the image files.

What to do

Apply updates per vendor instructions.

Deadline for US federal agencies: November 17, 2021

Added to the CISA list
November 3, 2021
Published
April 23, 2021
Severity
Critical 10.0 CVSS 3.1
Chance of attacks in the next 30 days (EPSS)
99.7% in the top 0.1% of all known vulnerabilities
Weakness
CWE-20 CWE-95
More details
NVD · CVE.org · CISA
All references (5)

More exploited flaws from GitLab

AddedVulnerabilityProductSeverityAttack chance
Feb 3, 2026Server-Side Request Forgery (SSRF)CVE-2021-39935Community and Enterprise EditionsMedium 6.836%
Sep 11, 2026Path TraversalCVE-2026-85706Community Edition and Enterprise EditionCritical 10.097%
Feb 18, 2026Server-Side Request Forgery (SSRF)CVE-2021-22175GitLabMedium 6.853%
May 1, 2024Community and Enterprise Editions Improper Access ControlCVE-2023-7028GitLab CE/EECritical 10.094%

All of them →

Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.