CVE-2024-11222 Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab

Medium 6.4 Published Updated

A race condition in GitLab pipeline creation allows developers to perform actions in another user's merge request context.

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-2024-11222?

CVE-2024-11222 is a medium-severity vulnerability in Gitlab Gitlab, published on 16 Sep 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 CE/EE affecting all versions from 13.0 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that under certain conditions could have allowed a developer user to perform actions in the context of another user's merge request commit due to a race condition issue in pipeline creation.

Weakness: CWE-367

Which versions are affected by CVE-2024-11222?

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

PackageAffectedFixed in
gitlab BitnamiFrom 13.0.019.1.8, 19.2.6, 19.3.2

Products include Gitlab Gitlab.

How do I fix CVE-2024-11222?

Upgrade gitlab to a fixed version for your release line: 19.1.8, 19.2.6 or 19.3.2.

Is CVE-2024-11222 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-11222, GHSA-mvcm-rmq8-7vvx, MINI-5m3g-87h2-g9vg, MINI-jrwh-5j3w-rhg3, MINI-qj72-v3gp-mqqh.

Is CVE-2024-11222 in your software?

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

Check your SBOMs for free