CVE-2021-22175 in Gitlab
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
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gitlab | Gitlab | ≥ 10.5.0, < 13.6.7 ≥ 13.7.0, < 13.7.7 ≥ 13.8.0, < 13.8.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2026-02-18 |
|---|---|
| Public exploit | Not confirmed |
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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-22175 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-241670-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-06-11 |
| Last modified | 2026-02-20 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A server-side request forgery (SSRF) vulnerability exists in GitLab, affecting all versions starting from 10.5. This vulnerability allows an unauthenticated attacker to exploit the system even if registration is disabled, leading to potential data exfiltration and system compromise.
The SSRF vulnerability in GitLab can be exploited by an unauthenticated attacker to send requests to the internal network via webhooks. This can lead to unauthorized access to internal resources, data exfiltration, and potential system compromise. The vulnerability is particularly dangerous in environments where GitLab is used as part of the development and deployment pipeline for critical systems.
Compensating controls AI-drafted, review before use
Implement strict outbound firewall rules to prevent GitLab from making requests to internal networks. Additionally, configure GitLab to restrict webhook requests to trusted external domains only.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-22175?
A server-side request forgery (SSRF) vulnerability exists in GitLab, affecting all versions starting from 10.5. This vulnerability allows an unauthenticated attacker to exploit the system even if registration is disabled, leading to potential data exfiltration and system compromise.
What is the CVSS score for CVE-2021-22175?
CVE-2021-22175 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 53.4%.
Is CVE-2021-22175 actively exploited?
Yes. CVE-2021-22175 is in the CISA known-exploited catalog (added 2026-02-18). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-22175?
Priority: IMMEDIATE. Advisory: https://gitlab.com/gitlab-org/gitlab/-/issues/294178 PSIRT: [email protected]
What systems are affected by CVE-2021-22175?
CVE-2021-22175 affects Gitlab Gitlab.
What NERC-CIP standard applies to CVE-2021-22175?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an unauthenticated attacker to exploit a server-side request forgery vulnerability, potentially compromising the security of the electronic security perimeter.
What IEC 62443 requirement maps to CVE-2021-22175?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a server-side request forgery that could allow an attacker to bypass security controls and access internal resources, violating the principle of least privilege and secure communication.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gitlab","product":"Gitlab","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-02-20.