CVE-2025-6171 Missing Authorization in GitLab

Medium 5.3 Published Updated

An authenticated attacker with reporter access can view branch names and pipeline details via the packages API even when repository access is disabled.

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

What is CVE-2025-6171?

CVE-2025-6171 is a medium-severity missing authorization vulnerability in Gitlab Gitlab, published on 15 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 13.2 before 18.3.6, 18.4 before 18.4.4, and 18.5 before 18.5.2 that could have allowed an authenticated attacker with reporter access to view branch names and pipeline details by accessing the packages API endpoint even when repository access was disabled.

Weakness: CWE-862

Which versions are affected by CVE-2025-6171?

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

PackageAffectedFixed in
gitlab BitnamiFrom 13.2.018.3.6, 18.4.4, 18.5.2

Products include Gitlab Gitlab.

How do I fix CVE-2025-6171?

Upgrade gitlab to a fixed version for your release line: 18.3.6, 18.4.4 or 18.5.2.

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

Is CVE-2025-6171 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2025-6171, GHSA-pv96-f897-xcch, UBUNTU-CVE-2025-6171.

Is CVE-2025-6171 in your software?

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

Check your SBOMs for free