CVE-2025-6168 Incorrect Authorization in GitLab

Low 2.7 Published Updated

Authenticated maintainers can bypass group-level user invitation restrictions via crafted API requests in GitLab Enterprise Edition.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6168?

CVE-2025-6168 is a low-severity missing authorization vulnerability in Gitlab Gitlab, published on 10 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue has been discovered in GitLab EE affecting all versions from 18.0 before 18.0.4 and 18.1 before 18.1.2 that could have allowed authenticated maintainers to bypass group-level user invitation restrictions by sending crafted API requests.

Weakness: CWE-863

Which versions are affected by CVE-2025-6168?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 18.0.0None

Products include Gitlab Gitlab.

How do I fix CVE-2025-6168?

No fix has been published for CVE-2025-6168 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-6168 being exploited?

There is no known exploitation of CVE-2025-6168 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2025-6168, GHSA-xrmj-xm38-42wc.

Is CVE-2025-6168 in your software?

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

Check your SBOMs for free