As of , CVE-2021-22205 in GitLab Community and Enterprise Editions is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.
CVE-2021-22205
GitLab Community and Enterprise Editions: Remote Code Execution. Exploited, and in our Patch this week group.
Our patch-first group
Patch this week
- Ransomware use
- Metasploit module
- EPSS 0.99
CISA's required action
Apply updates per vendor instructions.
Patch infofixed versions and vendor advice
What to install
Affects GitLab from 11.9 before 13.8.8, from 13.9 before 13.9.6 and from 13.10 before 13.10.3.
Fixed in 13.8.8, 13.9.6 and 13.10.3.
- EPSS score
- 0.99Higher than 99% of the CVEs EPSS scores.
EPSS estimates the chance of exploitation activity in the next 30 days.
- Exploited
- Yes CISA listed it on 3 November 2021
- US federal deadline
- 17 November 2021 14 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Known CISA changed it from Unknown to Known on 12 May 2025.
- EPSS when listed
- Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
- Public exploit
- 1 Metasploit module and 1 Exploit-DB entry
Since listing
EPSS since listing
EPSS for CVE-2021-22205 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.
Show the numbers
| From | EPSS |
|---|---|
| 0.71 | |
| 0.70 | |
| 0.71 | |
| 0.97 | |
| 0.94 | |
| 0.99 |
Timeline
What happened when
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- Exploit-DB published an exploit (EDB-ID 50532).
- The US federal deadline to fix it.
- CISA changed its entry. Ransomware use: Unknown to Known.
CISA's required action
What CISA says to do
Apply updates per vendor instructions.
Read further: CISA's catalog
The flaw
What the flaw is
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.
CISA's 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.
The CVE record's description, from GitLab
- CVE published
- 23 April 2021
- Assigned by
- GitLab
- CVSS
- 10.0 Critical (CVSS 3.1, from the CNA)
- CWE-94
- Improper Control of Generation of Code
- CWE-20
- Improper Input Validation
- CWE-95
- Improper Neutralization of Directives in Dynamically Evaluated Code
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- yes
- CISA SSVC, technical impact
- total
Public exploits
Public exploits
Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.
Same product
Community and Enterprise Editions: other exploited entries
| Vulnerability | Product | Our group | Listed | Deadline | EPSS |
|---|---|---|---|---|---|
| CVE-2021-39935Server-Side Request Forgery (SSRF) | Community and Enterprise Editions | Patch soon | Due | 0.36 |
Sources
- CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
- CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
- EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)