CVE-2024-7296 Incorrect Authorization in GitLab

Low 2.7 Published Updated

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.

PackageAffectedFixed in
gitlab BitnamiFrom 16.5.017.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.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-7296, GHSA-2gjq-2933-hpjg.

Is CVE-2024-7296 in your software?

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

Check your SBOMs for free