CVE-2021-22205
CRITICAL 10.0CVSS 3.1known exploitedransomwareGitLab Community and Enterprise Editions Remote Code Execution Vulnerability
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.
- Published
- 23 Apr 2021
- Last modified
- 6 Aug 2026
- Assigned by
- cve@gitlab.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-94CWE-95
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 3 Nov 2021; US federal agencies must fix it by 17 Nov 2021.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@gitlab.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 11.9.0, < 13.8.8 | 13.8.8 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 11.9.0, < 13.8.8 | 13.8.8 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 13.9.0, < 13.9.6 | 13.9.6 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 13.9.0, < 13.9.6 | 13.9.6 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* |
>= 13.10.0, < 13.10.3 | 13.10.3 |
| NVD | gitlab | gitlabcpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* |
>= 13.10.0, < 13.10.3 | 13.10.3 |
References
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html · Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json · Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121 · Broken Link
- https://hackerone.com/reports/1154542 · Permissions Required, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205 · US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2021-22205
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 23 Apr 2021)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 3 Nov 2021)
- 3 Nov 2021 00:00 UTC · Listed as known exploited