CVE-2026-135221 Server-Side Request Forgery in GitLab

Published Updated

Authenticated GitLab EE users can make the server send requests to internal network resources via MCP server OAuth handling.

CVSS score

Medium

6.3/10

CVSS 3.1 · Scored by GitLab Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
19.4.11, 19.5, 19.5.9 +1
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135221?

CVE-2026-135221 is a medium-severity server-side request forgery vulnerability in GitLab, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

GitLab has remediated an issue in GitLab EE affecting all versions from 18.10 before 19.4.11, 19.5 before 19.5.9, and 19.6 before 19.6.2 that under certain conditions could have allowed an authenticated user to perform server-side request forgery against internal network resources due to insufficient URL validation in MCP server OAuth handling.

Weakness: CWE-918

How severe is CVE-2026-135221?

CVE-2026-135221 scores 6.3 out of 10 under CVSS 3.1, which is medium severity. It was scored by GitLab.

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-135221?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.

Products include GitLab.

CPE match criteria 3
CPE 2.3Versions
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*from 18.10, before 19.4.11
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*from 19.5, before 19.5.9
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*from 19.6, before 19.6.2

How do I fix CVE-2026-135221?

Upgrade GitLab to the fixed version for your release line. The advisory names 19.4.11, 19.5, 19.5.9 and 19.6.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-135221 being exploited?

There is no known exploitation of CVE-2026-135221 in the wild and no public exploit code.

Sources

Also known as GHSA-5845-97p8-588c.

Is CVE-2026-135221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free