# CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

- Severity: Critical 10.0 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2021-11-03; used in ransomware campaigns. Apply updates per vendor instructions.
- Likelihood of exploitation in the next 30 days (EPSS): 99.7%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-04-23T17:39:36.000Z
- Modified: 2026-09-08T08:48:23.048Z
- Also known as: BIT-GITLAB-2021-22205
- Weaknesses: CWE-20, CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: GitLab

## 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.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=11.9, <13.8.8; >=13.9, <13.9.6; >=13.10, <13.10.3; from 11.9.0 before 13.8.8; from 13.9.0 before 13.9.6; from 13.10.0 before 13.10.3
- gitlab (Bitnami): from 11.9.0 before 13.8.8; from 13.9.0 before 13.9.6; from 13.10.0 before 13.10.3
- GitLab Community and Enterprise Editions: no versions given

## Every score

- GitLab: 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`
- NVD: 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html> (exploit, advisory, third-party-advisory, vdb-entry)
- <http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html> (exploit, advisory, third-party-advisory, vdb-entry)
- <https://hackerone.com/reports/1154542> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/327121> (broken-link, web)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json> (advisory, vendor-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205> (government-resource, us-government-resource, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22205> (kev, web)

## Sources

- CVE List: [CVE-2021-22205](https://www.cve.org/CVERecord?id=CVE-2021-22205), CVE Terms of Use, modified 2026-08-06
- NVD: [CVE-2021-22205](https://nvd.nist.gov/vuln/detail/CVE-2021-22205), Public domain, modified 2026-08-06
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-22205](https://osv.dev/vulnerability/BIT-GITLAB-2021-22205), Apache-2.0, modified 2026-09-08
- CISA KEV: [CVE-2021-22205](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-22205), CC0-1.0, modified 2021-11-03

---

Page: https://cve.day/CVE-2021-22205 · Whole record: https://cve.day/CVE-2021-22205.json · Rebuilt by cve.day 2026-11-25T22:58:01.020Z
