# CVE-2024-13041: Incorrect User Management in GitLab

- Severity: Medium 4.2 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/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.46%, higher than 31% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-09T06:33:13.241Z
- Modified: 2026-09-10T16:01:36.849Z
- Also known as: BIT-GITLAB-2024-13041
- Weaknesses: CWE-286
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

## Description

An issue was discovered in GitLab CE/EE affecting all versions starting from 16.4 prior to 17.5.5, starting from 17.6 prior to 17.6.3, and starting from 17.7 prior to 17.7.1. When a user is created via the SAML provider, the external groups setting overrides the external provider configuration. As a result, the user may not be marked as external thereby giving those users access to internal projects or groups.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 16.4 before 17.5.5; from 17.6 before 17.6.3; from 17.7 before 17.7.1; from 16.4.0 before 17.5.5; from 17.6.0 before 17.6.3; from 17.7.0 before 17.7.1
- gitlab (Bitnami): from 16.4.0 before 17.5.5; from 17.6.0 before 17.6.3; from 17.7.0 before 17.7.1

## Every score

- GitLab: 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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/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/479165> (exploit, evidence, issue-tracking, permissions-required)
- <https://about.gitlab.com/releases/2025/01/08/patch-release-gitlab-17-7-1-released/#instance-saml-does-not-respect-external_provider-configuration> (advisory, release-notes, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-13041> (web)

## Sources

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

---

Page: https://cve.day/CVE-2024-13041 · Whole record: https://cve.day/CVE-2024-13041.json · Rebuilt by cve.day 2026-11-25T22:58:50.843Z
