What’s Vulnerable › Vulnerabilities
CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2021-11-03
- EPSS: 99.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-04-23 · updated 2026-08-06
- Weakness: CWE-94
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 products
- 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 — fixed in 13.10.3, 13.8.8, 13.9.6
How to fix
Upgrade to a fixed version: GitLab 13.10.3, 13.8.8, 13.9.6. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121
- https://hackerone.com/reports/1154542
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121
- https://hackerone.com/reports/1154542
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205
Get alerted when CVE-2021-22205 or the next vulnerability affects your stack