Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-22175: GitLab Server-Side Request Forgery (SSRF) Vulnerability

84
Patch now
MEDIUM 6.8EXPLOITEDREMOTEUPGRADE

CVE-2021-22175 is a medium-severity flaw (CVSS 6.8) 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.

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab affecting all versions starting from 10.5 was possible to exploit for an unauthenticated attacker even on a GitLab instance where registration is disabled

Why this priority

  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score6.8 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance53.4% (top 1%)
CISA exploited listYes, fix due 2026-03-11
WeaknessCWE-918
Published2021-06-11
Last modified2026-10-01
Publisher (CNA): GitLab Inc. · Vendor: gitlab

Share: LinkedIn · X · Reddit

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

Am I affected?

Timeline

gitlab gitlab UPGRADE
Affected: >= 10.5.0 and < 13.6.7 · >= 13.7.0 and < 13.7.7 · >= 13.8.0 and < 13.8.4
Fixed in: 13.6.7, 13.7.7, 13.8.4
Safe to downgrade to: a release before 10.5.0
1. Check installed version
apt-cache policy gitlab || rpm -q gitlab || gitlab --version
2. UPGRADE to 13.6.7 (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 10.5.0 (Debian / Ubuntu)
apt-cache madison gitlab sudo apt install gitlab=<VERSION_BEFORE_10.5.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_10.5.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-22175?

gitlab: upgrade to 13.6.7, 13.7.7, 13.8.4. Exact commands for each OS are on this page.

Is CVE-2021-22175 being exploited?

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

What does CVE-2021-22175 affect?

CVE-2021-22175 affects gitlab. Severity is medium (CVSS 6.8). When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab affecting all versions starting from 10.5 was possible to exploit for an unauthenticated attacker even on a GitLab instanc

How urgent is CVE-2021-22175?

Priority 84/100. EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; 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.