What’s Vulnerable › Vulnerabilities
CVE-2024-13041: Incorrect User Management in GitLab
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-01-09 · updated 2026-06-17
- Weakness: CWE-286
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.
Affected products
- GitLab: from 16.4.0 before 17.5.5; from 17.6.0 before 17.6.3; from 17.7.0 before 17.7.1 — fixed in 17.5.5, 17.6.3, 17.7.1
How to fix
Upgrade to a fixed version: GitLab 17.5.5, 17.6.3, 17.7.1. Check the vendor advisory for mitigations.
References
- https://about.gitlab.com/releases/2025/01/08/patch-release-gitlab-17-7-1-released/#instance-saml-does-not-respect-external_provider-configuration
- https://gitlab.com/gitlab-org/gitlab/-/issues/479165
Get alerted when CVE-2024-13041 or the next vulnerability affects your stack