CVE-2024-13041: Incorrect User Management in GitLab

Published Jan 8, 2025
·
Updated

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 Software

8 affected componentsFixes available
GitLab GitLab CE/EE>=16.4, <17.5.5, >=17.6, <17.6.3, >=17.7, <17.7.1
GitLab GitLab>=16.4.0<17.5.5
GitLab GitLab>=16.4.0<17.5.5
GitLab GitLab>=17.6.0<17.6.3
GitLab GitLab>=17.6.0<17.6.3
GitLab GitLab>=17.7.0<17.7.1
GitLab GitLab>=17.7.0<17.7.1
GitLab GitLab>=16.4<17.5.5, >=17.6<17.6.3, >=17.7<17.7.1
17.5.517.6.317.7.1

Remediation

Information

Upgrade to version 17.5.5, 17.6.3 or 17.7.1 or above

Event History

Jan 9, 2025
CVE Published
via MITRE·06:33 AM
Data Sourced
via MITRE·06:33 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-13041?

CVE-2024-13041 has a moderate severity level due to the potential for improper group management when using SAML for user creation.

2

How do I fix CVE-2024-13041?

To mitigate CVE-2024-13041, update your GitLab CE/EE to version 17.5.5 or later, or version 17.6.3 or later, or version 17.7.1 or later.

3

Which versions of GitLab are affected by CVE-2024-13041?

CVE-2024-13041 affects GitLab CE/EE versions from 16.4 up to 17.5.5, from 17.6 up to 17.6.3, and from 17.7 up to 17.7.1.

4

What issue does CVE-2024-13041 describe?

CVE-2024-13041 describes a flaw where the external groups setting can override the external provider configuration when users are created via the SAML provider.

5

Is there a workaround for CVE-2024-13041?

There are no documented workarounds for CVE-2024-13041, so upgrading GitLab to the fixed versions is necessary to resolve the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203