CVE-2026-18252 Inclusion of Functionality from Untrusted Control Sphere in GitLab

High 7.3 Published Updated

Authenticated developers can execute arbitrary commands in CI contexts via untrusted Claude agent configuration in GitLab EE.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-18252?

CVE-2026-18252 is a high-severity code injection vulnerability in Gitlab Gitlab, published on 26 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

GitLab has remediated an issue in GitLab EE affecting all versions from 18.9 before 19.1.7, 19.2 before 19.2.5, and 19.3 before 19.3.1 that, under certain conditions, an authenticated user with developer-role permissions could have executed arbitrary commands in a CI context, due to the Claude agent processing configuration from a user-controlled source.

Weakness: CWE-829

Which versions are affected by CVE-2026-18252?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 18.9.019.1.7, 19.2.5, 19.3.1

Products include Gitlab Gitlab.

How do I fix CVE-2026-18252?

Upgrade gitlab to a fixed version for your release line: 19.1.7, 19.2.5 or 19.3.1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-18252 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2026-18252, GHSA-gjcp-3p8v-jvrw, MINI-6x8c-gj4q-j869, MINI-jcr8-c36m-xp25, MINI-jmrr-2q3c-xfxx.

Is CVE-2026-18252 in your software?

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

Check your SBOMs for free