CVE-2024-7296 Incorrect Authorization in GitLab
A user with custom permissions can bypass membership limits to approve requests, requiring an upgrade to GitLab EE.
- 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-7296?
CVE-2024-7296 is a low-severity missing authorization vulnerability in Gitlab Gitlab, published on 13 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
An issue was discovered in GitLab EE affecting all versions from 16.5 prior to 17.7.7, 17.8 prior to 17.8.5, and 17.9 prior to 17.9.2 which allowed a user with a custom permission to approve pending membership requests beyond the maximum number of allowed users.
Weakness: CWE-863
Which versions are affected by CVE-2024-7296?
1 open source package ship an affected version, including gitlab. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 16.5.0 | 17.9.2 |
Products include Gitlab Gitlab.
How do I fix CVE-2024-7296?
Upgrade gitlab to 17.9.2 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-7296 being exploited?
There is no known exploitation of CVE-2024-7296 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-7296, GHSA-2gjq-2933-hpjg.