Auth bypass in GitLab

CVE-2025-1540

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."

Vulnerability class: Broken Access Control

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS: 0.002 (13.4th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 13th percentile — 13.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-1540: held from 0.002 to 0.002.

EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000

Affected products

  • GitLab — versions 17.5, 17.7, 17.8

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-1540?
CVE-2025-1540 is a low-severity vulnerability in GitLab, classified under Incorrect Authorization. CVSS score: 3.1/10. Published 2025-03-06.
How severe is CVE-2025-1540?
Low severity. CVSS v3 base score is 3.1 out of 10.
Is CVE-2025-1540 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.