CVE-2021-22214: SSRF in GitLab CE/EE Webhooks (internal network requests enabled)
- Vendor
- GitLab
When requests to the internal network for webhooks are enabled, GitLab CE/EE contains a server-side request forgery (SSRF) vulnerability affecting versions starting from 10.5. The issue can be exploited by an unauthenticated attacker, including on instances where user registration is limited, by inducing GitLab to make attacker-controlled outbound HTTP requests to internal network resources via webhook functionality.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated attacker to coerce the GitLab server into making HTTP requests to internal network endpoints (SSRF), potentially enabling internal network reconnaissance and access to otherwise non-public services reachable from the GitLab host.
Mitigation
If you can’t patch tonight, do this now.
Disable or restrict webhook capability to prevent requests to internal networks, or enforce strict egress controls/allowlisting so the GitLab instance cannot reach internal/private address ranges via webhook-triggered requests. Where possible, block access to RFC1918, link-local, and other internal ranges at the application or network layer for webhook destinations.
Remediation
Patch, then assume compromise.
Upgrade GitLab CE/EE to a version that includes the vendor fix for CVE-2021-22214. Ensure the patch level is applied across all GitLab nodes (including any HA components) and verify the fix by testing against known vulnerable vs. patched behavior.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-22214 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-22214?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-22214.
- Is there a patch for CVE-2021-22214?
- Upgrade GitLab CE/EE to a version that includes the vendor fix for CVE-2021-22214. Ensure the patch level is applied across all GitLab nodes (including any HA components) and verify the fix by testing against known vulnerable vs. patched behavior.
- What products are affected by CVE-2021-22214?
- Gitlab.
- How severe is CVE-2021-22214?
- CVE-2021-22214 has a CVSS v3.1 score of 8.6 (High) and an EPSS score of 27.8% (98th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.