Live threats

All CVEs / GitLab

CVE-2021-22205GitLab Community and Enterprise Editions

Unauthenticated Remote Code Execution in GitLab CE/EE via Improper Image Valida…

Critical 10.0 KEVRansomware No auth neededHigh EPSS

Priority
100
CVSS 3.1
10.0
EPSS
99.7%
probability of exploitation in 30 days · percentile 100
Auth required
No
In KEV since
Nov 3, 2021
CISA deadline
Nov 17, 2021
Ransomware use
Confirmed
Published
Apr 23, 2021
Updated
Aug 6, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

GitLab Community and Enterprise Editions (versions 11.9 to 13.10.2) fail to properly validate image files processed by ExifTool, allowing unauthenticated remote code execution. An attacker can upload a malformed image to execute arbitrary commands on the server. CISA confirmed this vulnerability as actively exploited.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by 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.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 13.8.8, 13.9.6, 13.10.3

Update GitLab to version 13.8.8, 13.9.6, 13.10.3 or later depending on your version branch.

Vendor advisory · gitlab.com ↗

  1. Apply the vendor's security update for Community and Enterprise Editions.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was November 17, 2021.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 11.9.0 < 13.8.8
gitlabgitlab≥ 11.9.0 < 13.8.8
gitlabgitlab≥ 13.9.0 < 13.9.6
gitlabgitlab≥ 13.9.0 < 13.9.6
gitlabgitlab≥ 13.10.0 < 13.10.3
gitlabgitlab≥ 13.10.0 < 13.10.3

Official sources

References

Links published by the sources. Open them with care.