Skip to content
SSRF Write-up Intermediate

GitLab CI Lint API Server-Side Request Forgery (SSRF) Vulnerabili

The GitLab CI Lint API did not properly validate user-supplied URLs, allowing an unauthenticated attacker to make the GitLab server send requests to arbitrary internal or external addresses. This could let an attacker scan internal networks, reach cloud metadata services, and potentially obtain secrets for further compromise.

Criminal IP Follow

Published on osintteam.blog

In early February 2026, the U.S. Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2021–39935, a Server-Side Request Forgery (SSRF) vulnerability affecting GitLab Community and Enterprise Edition, to its Known Exploited Vulnerabilities (KEV) Catalog.

Criminal IP, on osintteam.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the CI Lint API accepted user-supplied URLs without sufficient validation, so the server would fetch them on the attacker's behalf.

Impact

An unauthenticated attacker could scan internal networks, potentially exfiltrate cloud metadata or secrets, and use that information to move laterally to other systems.

What the attacker needed

Internet-exposed GitLab instance; Unauthenticated access to CI Lint API

The fix

The vulnerability was fixed in GitLab versions 14.3.6, 14.4.4, and 14.5.2; organisations should upgrade and restrict access to the CI Lint API where possible.

How it was found

  1. Find internet-exposed GitLab instances by scanning for GitLab resource patterns.
  2. Craft malicious API requests to the CI Lint API that specify attacker-chosen URLs.
  3. Observe whether connections to internal IP addresses and ports succeed to map the internal network.
  4. Look for exposed tokens, keys, or configuration data via cloud metadata services or internal service responses.
  5. Use any leaked information to attempt lateral movement to registries, internal APIs, and other systems.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A server-side request forgery (SSRF) is when a website is tricked into fetching a web address chosen by an attacker. Because the request comes from the server itself, it can reach internal systems that outsiders cannot normally access. Here, a GitLab feature meant to check CI/CD configuration could be abused to make the GitLab server contact internal addresses.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by Criminal IP

View all

7 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.