Actively exploited vulnerability / CVE-2021-22205
GitLab: attackers can take control of the server through image files
This flaw in GitLab lets a remote attacker run commands on the server where GitLab is installed, because certain image files are not checked properly. That can give them access to your company's source code, passwords and other data stored there, and a foothold for further attacks. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2021-22205 · EUVD-2021-9351
- Severity
- Critical (10/10)
- On the CISA list (US)
- yes, since 3 November 2021
- Deadline given to US federal agencies
- 17 November 2021
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 99.7% (FIRST's estimate for the next 30 days)
Does it concern you?
GitLab is a platform for storing and managing source code, used by software development teams. It concerns you if your company or an IT provider hosts GitLab Community Edition or Enterprise Edition on its own servers.
The version is shown in the GitLab interface, in the help section or the admin area, or you can ask whoever administers the server. Affected are versions from 11.9.0 up to before 13.8.8, from 13.9.0 up to before 13.9.6, and from 13.10.0 up to before 13.10.3.
Affected products and versions
- GitLab Community and Enterprise Editions
- gitlab: from 11.9.0 before 13.8.8; from 13.9.0 before 13.9.6; from 13.10.0 before 13.10.3
What to do
Update GitLab to at least 13.8.8, 13.9.6 or 13.10.3, depending on the release line you use, or straight to the latest version. Follow GitLab's published instructions for the update.
Versions that contain the fix: 13.10.3, 13.8.8, 13.9.6.
The official description
The text below is the description from the public database.
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.
Sources
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.