CVE-2024-8266 Execution with Unnecessary Privileges in GitLab
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.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 17.1.0 | 17.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.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2024-8266, GHSA-qfrc-4c6q-334p, UBUNTU-CVE-2024-8266.