Home / GitLab / GitLab / CVE-2021-22205
CVE-2021-22205: is it exploited, and which versions of GitLab are affected and fixed?
CVE-2021-22205 is a code injection (remote code execution) vulnerability in GitLab, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of November 17, 2021. Affected: GitLab >=11.9, <13.8.8, GitLab >=13.9, <13.9.6 and GitLab >=13.10, <13.10.3 (CVE record by GitLab). Fixed in 13.8.8, 13.9.6 and 13.10.3 (NVD). Severity: Critical (10.0, CVSS 3.1, from GitLab).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-22205?
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.
From the CVE record by GitLab, last updated August 6, 2026, 03:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| GitLab | GitLab | >=11.9, <13.8.8 >=13.9, <13.9.6 >=13.10, <13.10.3 |
As the CVE record by GitLab states it, last updated August 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gitlab | gitlab | from 11.9.0 before 13.8.8 | application |
| gitlab | gitlab | from 13.9.0 before 13.9.6 | application |
| gitlab | gitlab | from 13.10.0 before 13.10.3 | application |
NVD analysis (status Analyzed), last modified August 6, 2026, 05:16 UTC.
How severe is CVE-2021-22205?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | GitLab |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-22205 exploited in the wild?
- CISA KEV
- Listed as GitLab Community and Enterprise Editions Remote Code Execution Vulnerability, added November 3, 2021; federal agencies must act by November 17, 2021
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- 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 SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, October 26, 2021)
- EPSS
- 99.7% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://hackerone.com/reports/1154542 x_refsource_MISC
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121 x_refsource_MISC
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json x_refsource_CONFIRM
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html x_refsource_MISC
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205 government-resource
Who found and reported it?
- Thanks vakzz for reporting this vulnerability through our HackerOne bug bounty program (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 5, 2021
- Published
- April 23, 2021, 17:39 UTC
- CVE record updated
- August 6, 2026, 03:55 UTC by GitLab
- NVD
- Analyzed, last modified August 6, 2026, 05:16 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect GitLab?
- Oct 13, 2026CVE-2026-97229 GitLab: integer overflow exploited
- Sep 12, 2026CVE-2026-85706 GitLab: path traversal (reading or writing files outside the intended folder) exploited
- Jan 12, 2024CVE-2023-7028 GitLab: weak password recovery exploited
- Dec 13, 2021CVE-2021-39935 GitLab: server-side request forgery (SSRF) exploited
- Jun 11, 2021CVE-2021-22175 GitLab: server-side request forgery (SSRF) exploited
- Nov 26, 2026CVE-2026-17194 GitLab: use of Weak Hash
- Nov 25, 2026CVE-2026-81336 GitLab: improper Neutralization of Quoting Syntax
- Nov 25, 2026CVE-2026-132102 GitLab: regular expression denial of service (ReDoS)
Questions about CVE-2021-22205
Is CVE-2021-22205 exploited in the wild?
Yes. CISA added CVE-2021-22205 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of November 17, 2021. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 99.7% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of GitLab are affected by CVE-2021-22205?
GitLab >=11.9, <13.8.8, GitLab >=13.9, <13.9.6 and GitLab >=13.10, <13.10.3, per the CVE record by GitLab. The tables above give every range the sources list.
Which version fixes CVE-2021-22205?
13.8.8, 13.9.6 and 13.10.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-22205?
Critical (10.0, CVSS 3.1, from GitLab). The severity table above shows each score with its source.
Where is the official record of CVE-2021-22205?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.