CVE-2024-1299 Privilege Chaining in GitLab
A user with manage_group_access_tokens role can rotate group access tokens with owner privileges, leading to privilege escalation.
- 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-1299?
CVE-2024-1299 is a medium-severity vulnerability in Gitlab Gitlab, published on 7 Mar 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.
Weakness: CWE-268
Which versions are affected by CVE-2024-1299?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 16.8.0 | 16.8.4, 16.9.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2024-1299?
Upgrade gitlab to a fixed version for your release line: 16.8.4 or 16.9.2.
Is CVE-2024-1299 being exploited?
There is no known exploitation of CVE-2024-1299 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-1299, GHSA-27h4-9w4j-cp97, UBUNTU-CVE-2024-1299.