CVE-2021-22205
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
10.0
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.
- Record
CVE-2021-22205- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2021-9351
10.0
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.
- Record
EUVD-2021-9351- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vgp2-3hxm-6x85
10.0
An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab...
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.
- Record
GHSA-vgp2-3hxm-6x85- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-20, CWE-94
- Updated
- 2026-11-02
CISA KEV No score
GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
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.
- Record
CVE-2021-22205- Weakness
- CWE-20, CWE-95
- Updated
- 2026-11-02
NVD
10.0
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.
- Record
CVE-2021-22205- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-94
- Updated
- 2026-11-02
OSV
10.0
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.
- Record
CVE-2021-22205- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-22205
10.0
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.
- Record
UBUNTU-CVE-2021-22205- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVBIT-gitlab-2021-22205 No score
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.
- Record
BIT-gitlab-2021-22205- Updated
- 2026-11-02
Affected products
Affected packages
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Metasploit | GitLab Unauthenticated Remote ExifTool Command Injection | 2021-04-14 |
| PoC in GitHub | mr-r3bot/Gitlab-CVE-2021-22205 | 2021-06-05 |
| PoC in GitHub | XTeam-Wing/CVE-2021-22205 | 2021-10-28 |
| PoC in GitHub | r0eXpeR/CVE-2021-22205 | 2021-10-28 |
| PoC in GitHub | Al1ex/CVE-2021-22205 | 2021-10-29 |
| PoC in GitHub | ZZ-SOCMAP/CVE-2021-22205 | 2021-10-29 |
| PoC in GitHub | findneo/GitLab-preauth-RCE_CVE-2021-22205 | 2021-10-30 |
| PoC in GitHub | whwlsfb/CVE-2021-22205 | 2021-10-30 |
| PoC in GitHub | c0okB/CVE-2021-22205 | 2021-10-31 |
| PoC in GitHub | shang159/CVE-2021-22205-getshell | 2021-11-01 |
Show 18 moreShow less
History
| Recorded | Changed | Sources |
|---|---|---|
| exploitation | ||
| exploits, exploits_more | ||
| exploits | ||
| first indexed | CVE List, EUVD, Exploit-DB, GitHub Advisories, CISA KEV, Metasploit, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-22205 is a critical vulnerability (CVSS 10.0) in Gitlab, published April 23, 2021. CISA lists it as known to be exploited, since November 3, 2021. EUVD reports exploitation since November 3, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 99.7%, the 99th percentile. Fixed in gitlab 13.8.8.
References
hackerone.com/reports/1154542
gitlab.com/gitlab-org/gitlab/-/issues/327121
gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json
packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205
The full exploit list has 1 more link.