CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
CVE-2021-22205 is a critical-severity flaw (CVSS 10.0) affecting gitlab, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 10.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.7% (top 1%) |
| CISA exploited list | Yes, fix due 2021-11-17, used in ransomware |
| Weakness | CWE-94 |
| Published | 2021-04-23 |
| Last modified | 2026-08-06 |
Last updated 2026-08-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Al1ex/CVE-2021-22205 (287 stars)
- GitHub PoC: inspiringz/CVE-2021-22205 (238 stars)
- GitHub PoC: mr-r3bot/Gitlab-CVE-2021-22205 (180 stars)
- GitHub PoC: AkBanner/CVE-2021-22205
- Exploit-DB: GitLab 13.10.2 - Unauthenticated Remote Code Execution (RCE)
- Metasploit: GitLab Unauthenticated Remote ExifTool Command Injection
- Nuclei scan template: GitLab CE/EE - Remote Code Execution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-22205?
gitlab: upgrade to 13.8.8, 13.9.6, 13.10.3. Exact commands for each OS are on this page.
Is CVE-2021-22205 being exploited?
Yes. CVE-2021-22205 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-22205 affect?
CVE-2021-22205 affects gitlab. Severity is critical (CVSS 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.
How urgent is CVE-2021-22205?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-110264 CRITICAL 10.0 UPGRADE An issue has been discovered in GitLab CE/EE affecting all versions from 7.0 before 18.11.13, 19.0 before 19.0
- CVE-2026-15723 HIGH 8.2 UPGRADE GitLab has remediated an issue in GitLab CE/EE affecting all versions from 10.1 before 19.3.6, 19.4 before 19.
- CVE-2026-12664 MEDIUM 6.8 UPGRADE GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 19.3.6, 19.4 before 19.
- CVE-2026-112212 HIGH 7.5 UPGRADE GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.3 before 19.3.6, 19.4 before 19.
- CVE-2026-16255 MEDIUM 5.9 UPGRADE GitLab has remediated an issue in GitLab EE affecting all versions from 12.0 before 19.3.6, 19.4 before 19.4.3