CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Critical severity, CVSS 10.0. Actively exploited: in CISA KEV since 2021-11-03. EPSS: >99% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2021-11-17): Apply updates per vendor instructions.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • GitLab, from 11.9.0, before 13.8.8: fixed in 13.8.8
  • GitLab, from 13.9.0, before 13.9.6: fixed in 13.9.6
  • GitLab, from 13.10.0, before 13.10.3: fixed in 13.10.3

Affected products

  • GitLab GitLab: from 11.9.0, before 13.8.8 (fixed in 13.8.8); from 13.9.0, before 13.9.6 (fixed in 13.9.6); from 13.10.0, before 13.10.3 (fixed in 13.10.3)

Published 2021-04-23. Last modified 2026-08-06.