CVE-2021-22205
JSON

10.0criticalExploited

GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Severity
10.0critical CVSS:3.1 by GitLab
Exploit likelihood
99.7% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitLab
Also known as
BIT-GITLAB-2021-22205

Description

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.

Affected

Product or packageVersionsReported by
GitLab GitLab>=11.9, <13.8.8, >=13.9, <13.9.6, >=13.10, <13.10.3, from 11.9.0 before 13.8.8, from 13.9.0 before 13.9.6, from 13.10.0 before 13.10.3CVE List, NVD
gitlab (Bitnami)from 11.9.0 before 13.8.8, from 13.9.0 before 13.9.6, from 13.10.0 before 13.10.3Bitnami Vulnerability Database
GitLab Community and Enterprise EditionsNot specifiedCISA KEV

All scores

GitLab10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasecritical rating

Classification

CWE-20CWE-94CWE-95

SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se ha detectado un problema en GitLab CE/EE que afecta a todas las versiones a partir de 11.9.&#xa0;GitLab no estaba comprobado apropiadamente archivos de imagen que fueron pasados a un analizador de archivos, lo que resultó en una ejecución de comando remoto

CISA KEV

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22205 changed 2026-08-06CVE Terms of Use
NVDCVE-2021-22205 changed 2026-08-06Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2021-22205 changed 2026-09-08Apache-2.0
CISA KEVCVE-2021-22205 changed 2021-11-03CC0-1.0