CVE-2021-22205
GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
MITRE ATT&CK techniques
How this vulnerability maps to adversary behaviour, from the Center for Threat-Informed Defense's public CVE→ATT&CK mappings. Use it to check whether your detections already cover the technique.
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.
Affected software
Vendor: GitLab · Product: Community and Enterprise Editions
Weakness types (CWE):
Am I affected? How do I fix it?
This vulnerability is in CISA's Known Exploited Vulnerabilities catalog: it is being exploited in the wild. The checks below run on your own server, or in a browser: nothing to install, nothing sent to us.
If you run GitLab Community and Enterprise Editions
Am I affected?
1. Which version of GitLab Community and Enterprise Editions do you run? Compare it with the versions the vendor's advisory lists as affected.
Known use in ransomware campaigns
How to fix it
1. Apply the vendor's update for the build you run, from the advisory below.
2. Advisories:
Affected releases (NVD)
| Product | Affected | First fixed release |
|---|---|---|
| gitlab | >= 11.9.0 and < 13.8.8 | 13.8.8 |
| gitlab | >= 13.9.0 and < 13.9.6 | 13.9.6 |
| gitlab | >= 13.10.0 and < 13.10.3 | 13.10.3 |
Built from CISA's catalogue, NVD's affected ranges and the vendor's advisory. To see whether a known-exploited vulnerability is matched to your own server, run the free report; the complete audit tailors this guide to that server.
Related vulnerabilities in GitLab
| CVE | Name | EPSS | Exploited |
|---|---|---|---|
| CVE-2026-85706 | GitLab Community Edition and Enterprise Edition Path Traversal Vulnerability | 97.4% | Yes |
| CVE-2023-7028 | GitLab Community and Enterprise Editions Improper Access Control Vulnerability | 94.5% | Yes |
| CVE-2026-97229 | GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound V | 74.3% | Yes |
| CVE-2021-22175 | GitLab Server-Side Request Forgery (SSRF) Vulnerability | 53.4% | Yes |
| CVE-2021-39935 | GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF) Vuln | 36.1% | Yes |
Is your domain exposed?
Run a free, instant security report for any domain — exposure score, email auth, TLS and breach metadata.
Get your free reportSources: CISA KEV catalog · NVD · FIRST EPSS · MITRE ATT&CK® · CTID Mappings Explorer
This product uses the NVD API but is not endorsed or certified by the NVD. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation.
All information is aggregated from public sources for awareness only and does not constitute an accusation or a security assessment. No personal data or credentials are published.