Vulnerability record · CVE-2021-22175 · published 11 June 2021
CVE-2021-22175: GitLab unauthenticated SSRF via internal webhook requests
Gitlab · Gitlab
GitLab is vulnerable to server-side request forgery when requests to the internal network for webhooks are enabled. The flaw affects all versions starting from 10.5 and can be triggered by an unauthenticated attacker, even when registration is disabled. Because it is reachable without credentials and rated critical, it is a serious exposure for any internet-facing GitLab instance with internal webhook requests enabled.
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with no authentication or user interaction required, active CISA KEV listing, and a high EPSS probability make this an urgent patch target.
What it is
GitLab is vulnerable to server-side request forgery when requests to the internal network for webhooks are enabled. The flaw affects all versions starting from 10.5 and can be triggered by an unauthenticated attacker, even when registration is disabled. Because it is reachable without credentials and rated critical, it is a serious exposure for any internet-facing GitLab instance with internal webhook requests enabled.
Impact
An attacker can make the GitLab server issue requests to internal network resources, reaching services that are not otherwise exposed. This can expose internal endpoints, metadata services, or other systems reachable from the GitLab host, with high confidentiality, integrity and availability impact per the CVSS vector.
Attack surface
Reachable over the network via the webhook functionality when internal network requests for webhooks are enabled. No authentication or user interaction is required per the CVSS vector (PR:N, UI:N), and the description states it is exploitable even where registration is disabled.
Exploitation
CVE-2021-22175 is listed in CISA KEV with a due date of 2026-03-11, and EPSS gives a 30-day probability of 0.53372 (99th percentile). A reference is tagged Exploit, indicating public exploit information exists; no ransomware campaign use is documented.
What to do
- Upgrade GitLab to a fixed release per the vendor advisory; patch first.
- If patching is not immediately possible, disable internal network requests for webhooks as directed by GitLab.
- Restrict outbound network access from GitLab servers to only required destinations, blocking internal ranges and cloud metadata endpoints.
- Follow CISA KEV required action and BOD 22-01 guidance, or discontinue use if mitigations are unavailable.
- Review GitLab instances for exposure to untrusted networks and limit access where feasible.
Detection
- Monitor GitLab server outbound requests to internal RFC1918 addresses, loopback, and cloud metadata endpoints (for example 169.254.169.254).
- Alert on webhook configuration changes and on webhook-triggered requests originating from unauthenticated sessions.
- Review GitLab and reverse proxy logs for unusual request patterns to webhook endpoints followed by internal connection attempts.
- Correlate GitLab host network telemetry with known SSRF indicators such as requests to non-standard internal ports.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2021-22175 to the Known Exploited Vulnerabilities catalog on 18 February 2026 as "GitLab Server-Side Request Forgery (SSRF) Vulnerability". 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. Federal deadline 11 March 2026.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22175.json | Vendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/issues/294178 | ExploitIssue TrackingVendor Advisory |
| https://hackerone.com/reports/1059596 | Permissions RequiredThird Party Advisory |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22175.json | Vendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/issues/294178 | ExploitIssue TrackingVendor Advisory |
| https://hackerone.com/reports/1059596 | Permissions RequiredThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22175 | US Government Resource |
Track CVE-2021-22175 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-22175), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.