Skip to content
Server Security Center
KEVcritical9.8

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

GitLab · listed in the CISA catalog of actively exploited vulnerabilities since 2026-02-18.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
53%
higher than 99% of all CVEs
Added to CISA KEV
2026-02-18
US federal due date 2026-03-11
Ubuntu priority
low

CVE-2021-22175 explained

CVE-2021-22175 is a server-side request forgery (SSRF) vulnerability in GitLab affecting all versions starting from 10.5. When requests to the internal network for webhooks are enabled, an unauthenticated attacker can exploit it, even on instances where registration is disabled. It is listed in the CISA Known Exploited Vulnerabilities catalog.

Impact

An unauthenticated remote attacker can make the GitLab server send requests to the internal network, provided requests to the internal network for webhooks are enabled. The attack needs no privileges or user interaction and has low complexity. The CVSS rating shows high impact on confidentiality, integrity and availability. Disabling registration does not prevent exploitation.

Who is affected

The gitlab source package in Ubuntu 16.04 LTS is affected, and no fixed version has been published for it. Ubuntu 16.04 LTS is end of life in the standard archive. No other Ubuntu or Debian releases are listed in the facts. Ubuntu rates the priority as low, but the issue is in the CISA Known Exploited Vulnerabilities catalog.

Written with AI from the data on this page and checked against it automatically.

Official description

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

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • GitLab
    Affected
    • 10.5
    • < 13.6.7
    • 13.7
    • < 13.7.7
    • 13.8
    • < 13.8.4
    Fixed in
    not stated

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify systems running the gitlab package, especially on Ubuntu 16.04 LTS.
  2. Upgrade Ubuntu 16.04 LTS systems to a supported release, as no fixed gitlab package exists for it.
  3. Disable the setting that allows webhook requests to the internal network if you do not need it.
  4. Restrict network exposure of GitLab instances to trusted users and networks.
  5. Follow GitLab's vendor instructions for mitigation, or discontinue use if mitigations are unavailable.

Ubuntu 16.04 LTS is end of life and has no fixed gitlab package. Plan an upgrade to a supported release. Until then, disable webhook requests to the internal network, limit network access to the GitLab instance, and apply vendor mitigations. If mitigations cannot be applied, consider taking the instance out of service.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace gitlab with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="gitlab"'

No fixed version available

No Ubuntu or Debian release has published a fixed version of gitlab yet, so every installed version is affected. Until a fix is published:

  • Follow the vendor's advisory for a mitigation or patch: gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22…
  • If the server does not need the package, remove it, or replace it with a maintained alternative.
  • Restrict exposure: keep the affected service off the internet, limit access with a firewall or VPN, and turn off the vulnerable feature where you can.

This page updates automatically when Ubuntu or Debian publish a fix.

Ubuntu 16.04 LTS has reached end of life and no longer gets regular security fixes – upgrade to a supported release.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-918 Server-Side Request Forgery (SSRF)

Questions about CVE-2021-22175

Does disabling user registration protect my GitLab instance?
No. The vulnerability can be exploited by an unauthenticated attacker even when registration is disabled.
Under what configuration is GitLab vulnerable?
The issue is exploitable when requests to the internal network for webhooks are enabled. It affects all GitLab versions starting from 10.5.
Why does this matter if Ubuntu rates the priority as low?
CISA added it to its Known Exploited Vulnerabilities catalog on 2026-02-18, meaning it is known to be exploited. The affected Ubuntu 16.04 LTS package has no fix, so upgrading or mitigating is advised.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.