CVE-2021-22205
GitLab Community and Enterprise Editions from version 11.9 onward are vulnerable to remote command execution because image files are not properly validated. An attacker can upload a malicious image and run arbitrary commands on the server. The flaw is critical and has been exploited in the wild.
An official fix is available, so this entry is kept for 30 days and then removed automatically.
Who is affected
GitLab Community Edition and Enterprise Edition, all versions starting with 11.9. Typical users are organizations hosting GitLab on their own infrastructure.
Real-world impact
An attacker can execute arbitrary commands on the GitLab server, potentially taking full control, exfiltrating data, or disrupting services.
Why this severity
The CVSS score of 10 reflects that the vulnerability can be exploited over the network without authentication or user interaction, and it allows an attacker to compromise confidentiality, integrity, and availability of the affected system.
What to do about it
- 01Update GitLab to a patched version as per vendor instructions.
- 02Restart GitLab services.
CISA KEV required action
Timeline
- Apr 23, 2021 · Apr 23, 2021PublishedDisclosed and added to the National Vulnerability Database.
- Nov 3, 2021 · Nov 3, 2021Confirmed exploited (CISA KEV)CISA added it to the Known Exploited Vulnerabilities catalog — attackers are using it in the wild.
- Nov 17, 2021 · Nov 17, 2021CISA remediation deadlineFederal agencies are required to remediate by this date.
- Aug 1, 2026 · 5d agoOfficial fix availableA vendor patch or mitigation now exists — see the remediation steps above.
- Aug 6, 2026 · 4h agoAdvisory updatedThe NVD record was last revised.
How it’s attacked
References & advisories
- packetstormsecurity.com/files/164768/GitLab-Unauthe…exploitthird party advisoryvdb entry
- packetstormsecurity.com/files/164994/GitLab-13.10.2…exploitthird party advisoryvdb entry
- gitlab.com/gitlab-org/cves/-/blob/mast…vendor advisory
- gitlab.com/gitlab-org/gitlab/-/issues/…broken link
- hackerone.com/reports/1154542permissions requiredthird party advisory
- cisa.gov/known-exploited-vulnerabili…us government resource