Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

100
Patch now
CRITICAL 10.0EXPLOITEDREMOTEUPGRADE

CVE-2021-22205 is a critical-severity flaw (CVSS 10.0) affecting gitlab, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Used in ransomware campaigns
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score10.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance99.7% (top 1%)
CISA exploited listYes, fix due 2021-11-17, used in ransomware
WeaknessCWE-94
Published2021-04-23
Last modified2026-08-06
Publisher (CNA): GitLab Inc. · Vendor: gitlab

Share: LinkedIn · X · Reddit

Last updated 2026-08-06 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

gitlab gitlab UPGRADE
Affected: >= 11.9.0 and < 13.8.8 · >= 13.9.0 and < 13.9.6 · >= 13.10.0 and < 13.10.3
Fixed in: 13.8.8, 13.9.6, 13.10.3
Safe to downgrade to: a release before 11.9.0
1. Check installed version
apt-cache policy gitlab || rpm -q gitlab || gitlab --version
2. UPGRADE to 13.8.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gitlab
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gitlab
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 11.9.0 (Debian / Ubuntu)
apt-cache madison gitlab sudo apt install gitlab=<VERSION_BEFORE_11.9.0> sudo apt-mark hold gitlab
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list gitlab sudo dnf downgrade gitlab-<VERSION_BEFORE_11.9.0> sudo dnf versionlock add gitlab
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · bitcoin-core-selinux · FIXED · 0.3-2.fc46 · FEDORA-2026-51fc806272 · source
sudo dnf upgrade --advisory=FEDORA-2026-51fc806272
Fedora ELN · guestfs-tools · FIXED · 1.57.5-1.eln159 · FEDORA-2026-9577c5ec16 · source
sudo dnf upgrade --advisory=FEDORA-2026-9577c5ec16

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-22205?

gitlab: upgrade to 13.8.8, 13.9.6, 13.10.3. Exact commands for each OS are on this page.

Is CVE-2021-22205 being exploited?

Yes. CVE-2021-22205 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-22205 affect?

CVE-2021-22205 affects gitlab. Severity is critical (CVSS 10.0). 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.

How urgent is CVE-2021-22205?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

GitLab vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.