What’s Vulnerable › Vulnerabilities
CVE-2025-1540: Incorrect Authorization in GitLab
- Severity: medium (CVSS 4.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-06 · updated 2026-06-17
- Weakness: CWE-863
Description
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."
Affected products
- GitLab: from 17.5.0 before 17.6.5; from 17.7.0 before 17.7.4; from 17.8.0 before 17.8.2 — fixed in 17.6.5, 17.7.4, 17.8.2
How to fix
Upgrade to a fixed version: GitLab 17.6.5, 17.7.4, 17.8.2. Check the vendor advisory for mitigations.
References
- https://about.gitlab.com/releases/2025/02/12/patch-release-gitlab-17-8-2-released/#saml-authentication-misconfigures-external-user-attribute
- https://gitlab.com/gitlab-org/gitlab/-/issues/512765
Get alerted when CVE-2025-1540 or the next vulnerability affects your stack