CVE-2025-1540: Incorrect Authorization in GitLab

CVE-2025-1540 affects 17 listed versions of GitLab in the Dawnsentry catalogue.

4.2CVSS medium
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
6 March 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

GitLab

17 of 250 listed versions are affected. Fixed in 17.8.2, 17.7.4, 17.6.5. The newest release, 19.6.2, is not affected.

17.8.1 17.8.0 17.7.3 17.7.2 17.7.1 17.7.0 17.6.4 17.6.3 17.6.2 17.6.1 17.6.0 17.5.5 17.5.4 17.5.3 17.5.2 17.5.1 17.5.0

What it is

An issue has been discovered in GitLab CE/EE for Self-Managed and Dedicated instances affecting all versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2. It was possible for a user added as an External to read and clone internal projects under certain circumstances."

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N (NVD)

Published by Gitlab on 6 March 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-1540 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.