{"id":"CVE-2024-13041","summary":"Incorrect User Management in GitLab","details":"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.","aliases":["BIT-gitlab-2024-13041"],"modified":"2026-08-23T06:37:50.664353759Z","published":"2025-01-09T06:33:13.241Z","database_specific":{"cwe_ids":["CWE-286"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/13xxx/CVE-2024-13041.json","cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2025/01/08/patch-release-gitlab-17-7-1-released/#instance-saml-does-not-respect-external_provider-configuration"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/13xxx/CVE-2024-13041.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-13041"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/479165"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"},{"fixed":"0340daef06280ec9013da1c6330694de204cad4d"},{"introduced":"a8830741d3c4ad7f6a70eed38ee7af31f298d093"},{"fixed":"c3e8793de11e6cbfa919c1b97933e15404f1687e"},{"introduced":"1fd574ee5710155adf5307fba45132264dcb64a1"},{"fixed":"3c8f631cd0ad8efb987effc4447b1d9b25f35b61"}],"database_specific":{"extracted_events":[{"introduced":"16.4.0"},{"fixed":"17.5.5"},{"introduced":"17.6.0"},{"fixed":"17.6.3"},{"introduced":"17.7.0"},{"fixed":"17.7.1"}],"source":"CPE_RANGE","cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"]}}],"versions":["v17.7.0-ee","v17.6.0-ee","v17.6.2-rc31-ee","v17.6.2-rc30-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-13041.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}