# CVE-2025-1540: Incorrect Authorization in GitLab

- Severity: Low 3.1 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-06T08:31:07.791Z
- Modified: 2026-09-08T08:47:44.719Z
- Also known as: BIT-GITLAB-2025-1540
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitLab

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

(As written by CVE List.)

## Affected

- GitLab GitLab: from 17.5 before 17.6.5; from 17.7 before 17.7.4; from 17.8 before 17.8.2; from 17.5.0 before 17.6.5; from 17.7.0 before 17.7.4; from 17.8.0 before 17.8.2
- gitlab (Bitnami): from 17.5.0 before 17.8.2

## Every score

- GitLab: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/512765> (exploit, evidence, issue-tracking, permissions-required)
- <https://about.gitlab.com/releases/2025/02/12/patch-release-gitlab-17-8-2-released/#saml-authentication-misconfigures-external-user-attribute> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1540> (web)

## Sources

- CVE List: [CVE-2025-1540](https://www.cve.org/CVERecord?id=CVE-2025-1540), CVE Terms of Use, modified 2025-03-06
- NVD: [CVE-2025-1540](https://nvd.nist.gov/vuln/detail/CVE-2025-1540), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2025-1540](https://osv.dev/vulnerability/BIT-GITLAB-2025-1540), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-1540 · Whole record: https://cve.day/CVE-2025-1540.json · Rebuilt by cve.day 2026-11-25T22:58:55.013Z
