CVE-2024-8266 Execution with Unnecessary Privileges in GitLab

Medium 4.4 Published Updated

A maintainer can trigger pipelines as a project owner, enabling privilege escalation and potential code execution in GitLab.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-8266?

CVE-2024-8266 is a medium-severity vulnerability in Gitlab Gitlab, published on 13 Feb 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue was discovered in GitLab CE/EE affecting all versions starting from 17.1 prior to 17.6.0, which allows an attacker with maintainer role to trigger a pipeline as project owner under certain circumstances.

Weakness: CWE-250

Which versions are affected by CVE-2024-8266?

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

PackageAffectedFixed in
gitlab BitnamiFrom 17.1.017.6.0

Products include Gitlab Gitlab.

How do I fix CVE-2024-8266?

Upgrade gitlab to 17.6.0 or later.

Is CVE-2024-8266 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-8266, GHSA-qfrc-4c6q-334p, UBUNTU-CVE-2024-8266.

Is CVE-2024-8266 in your software?

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

Check your SBOMs for free