CVE-2024-0199 Incorrect Authorization in GitLab
An attacker can bypass CODEOWNERS restrictions in GitLab to perform unauthorized actions on feature branches.
- 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-0199?
CVE-2024-0199 is a high-severity missing authorization vulnerability in Gitlab Gitlab, published on 7 Mar 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
An authorization bypass vulnerability was discovered in GitLab affecting versions 11.3 prior to 16.7.7, 16.7.6 prior to 16.8.4, and 16.8.3 prior to 16.9.2. An attacker could bypass CODEOWNERS by utilizing a crafted payload in an old feature branch to perform malicious actions.
Weakness: CWE-863
Which versions are affected by CVE-2024-0199?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 11.3.0 | 16.7.7, 16.8.4, 16.9.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2024-0199?
Upgrade gitlab to a fixed version for your release line: 16.7.7, 16.8.4 or 16.9.2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-0199 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0199 exists.
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-0199, GHSA-rhx5-h5p6-9g65, UBUNTU-CVE-2024-0199.