CVE-2025-5846 Missing Authorization in GitLab

Low 2.7 Published Updated

Authenticated users can assign unrelated compliance frameworks to projects via crafted GraphQL mutations, bypassing permission checks.

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

What is CVE-2025-5846?

CVE-2025-5846 is a low-severity missing authorization vulnerability in Gitlab Gitlab, published on 26 Jun 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 16.10 before 17.11.5, 18.0 before 18.0.3, and 18.1 before 18.1.1 that could have allowed authenticated users to assign unrelated compliance frameworks to projects by sending crafted GraphQL mutations that bypassed framework-specific permission checks.

Weakness: CWE-862

Which versions are affected by CVE-2025-5846?

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

PackageAffectedFixed in
gitlab BitnamiFrom 16.10.018.0.1

Products include Gitlab Gitlab.

How do I fix CVE-2025-5846?

Upgrade gitlab to 18.0.1 or later.

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

Is CVE-2025-5846 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2025-5846, GHSA-4wp9-h8xr-gvf2, UBUNTU-CVE-2025-5846.

Is CVE-2025-5846 in your software?

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

Check your SBOMs for free