Critical9.8

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

GitLab contains a server-side request forgery (SSRF) vulnerability when requests to the internal network for webhooks are enabled.

Added to the CISA KEV catalog: February 18, 2026

Overview

GitLab contains a server-side request forgery flaw in its unauthenticated CI Lint API. An anonymous attacker can submit YAML with a remote include and make the GitLab server fetch internal addresses, with error messages revealing whether a port is open. Closing registration does not prevent it.

It is only exploitable when the admin setting that permits internal-network webhook requests is turned on. Versions from 10.5 up to the fixed releases in the 13.6, 13.7 and 13.8 lines are affected. CISA lists it as exploited.

Vulnerability details

Affected vendor

GitLab

Affected product

GitLab

Weakness type (CWE)

CWE-918

This is a server-side request forgery (CWE-918). The CI Lint API at /api/v4/ci/lint validates CI configuration YAML and accepts anonymous requests. When the submitted YAML uses an include with a remote URL, the GitLab server fetches that URL to merge the file. Normally outbound fetches to loopback and private ranges are restricted. When the administrator permits webhook requests to the internal network, that restriction no longer covers this fetch, so the attacker chooses destinations reachable from the GitLab host's network position.


The attacker sends a crafted HTTP request to the lint endpoint with YAML content containing a remote include aimed at a chosen internal host and port. The error response indicates whether the target answered, for example an invalid-YAML message when a port is open. This gives internal reconnaissance and port probing, plus disclosure of the instance's origin IP. The sources do not establish whether response bodies can be read or whether state-changing requests are possible. The preconditions are an affected version, the internal-request setting turned on, and anonymous reachability of the endpoint.

Severity and impact

9.8

Critical

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector

Network

Attack complexity

Low

Privileges required

None

User interaction

None

Scope

Unchanged

Confidentiality impact

High

Integrity impact

High

Availability impact

High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use

Unknown

Detection and monitoring

  • Review GitLab API and reverse-proxy logs for POST requests to /api/v4/ci/lint with no authenticated user, especially bursts from one external source or request bodies containing include and remote keys pointing at private or loopback addresses.
  • Check the admin outbound-requests setting and the running version. An affected release with the permission for webhooks to reach the local network turned on is exposed, even with no log evidence of abuse.

Remediation

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 (FCEB) remediation due date

March 11, 2026

Additional hardening

  • Upgrade to 13.8.4 on the 13.8 line or 13.7.7 on the 13.7 line. For the 10.5 through 13.6 lines and other releases, follow the vendor advisory listed in References.
  • Turn off the admin setting that allows webhook requests to the local network. If internal webhooks are required, permit only specific named hosts through the allowlist rather than the whole internal range.
  • Restrict /api/v4/ci/lint at the reverse proxy or WAF so only authenticated or internal sources reach it, and apply egress filtering from the GitLab host to internal ranges and cloud metadata addresses.
  • Search historical logs for anonymous lint requests, and check internal services for inbound connections from the GitLab host's address that lack a matching legitimate integration.

Key dates

Published (NVD)

June 11, 2021

Added to CISA KEV

February 18, 2026

Remediation deadline

March 11, 2026

Last updated

October 1, 2026

Frequently Asked Questions

If GitLab runs inside your authorization boundary, yes. CVE-2021-22175 sits on CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of March 11, 2026 has already passed. In a FedRAMP-authorized service, an unpatched KEV in the boundary is an assessor finding, and an overdue one is visible to your assessor and sponsoring agency. Remediate it now, or formally document the mitigation and the delay.

Knox does not patch your software. Under the FedRAMP shared responsibility model, remediating GitLab is yours to do. What Knox provides is the pre-authorized, single-tenant boundary where you remediate, along with continuous compliance monitoring and audit-artifact coverage that help you document the fix for your next assessment. You apply the fix; you do not carry the compliance work around it alone.

Knox's automated continuous monitoring platform watches your environment in real time for newly disclosed vulnerabilities and compliance issues, including ones like CVE-2021-22175. Exposure surfaces during ongoing monitoring, not only when an assessor flags it at review time, rather than waiting for the next assessment cycle.

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

With the March 11, 2026 deadline now behind you, an unremediated CVE-2021-22175 is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your agency. Closing the item out and documenting why the deadline slipped keeps your authorization clean and the agency relationship intact.

Access Continuous Compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.

Please see our Privacy Policy for details on how we will handle this information.

Submit
Submit