CVE-2024-13041
CVE-2024-13041 is a medium-severity vulnerability in Gitlab with a CVSS 3.x base score of 4.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-286.
Key facts
- Severity: Medium (CVSS 3.x base score 4.2)
- EPSS exploit prediction: 0% (19th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-51297
- Weakness: CWE-286
- Affected product: Gitlab
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-13041?
- 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.
- How severe is CVE-2024-13041?
- CVE-2024-13041 has a CVSS 3.x base score of 4.2, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2024-13041 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (19th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-13041?
- CVE-2024-13041 primarily affects Gitlab. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-13041?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-13041 have an EU (EUVD) identifier?
- Yes. CVE-2024-13041 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-51297.
- When was CVE-2024-13041 published?
- CVE-2024-13041 was published on 2025-01-09 and last updated on 2026-06-17.
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
Affected products (2)
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
More vulnerabilities in Gitlab
- CVE-2024-45409 — Critical (CVSS 10.0): The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <=…
- CVE-2023-7028 — Critical (CVSS 10.0): An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9,…
- CVE-2023-2825 — Critical (CVSS 10.0): An issue has been discovered in GitLab CE/EE affecting only version 16.0.0. An unauthenticated malicious user can use a…
- CVE-2022-0735 — Critical (CVSS 10.0): An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.6.5, all versions…
- CVE-2021-22205 — Critical (CVSS 10.0): An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly…
- CVE-2019-9174 — Critical (CVSS 10.0): An issue was discovered in GitLab Community and Enterprise Edition before 11.6.10, 11.7.x before 11.7.6, and 11.8.x…
Other CWE-286 vulnerabilities
- CVE-2025-64725 — Critical (CVSS 9.8): Weblate is a web based localization tool. In versions prior to 5.15, it was possible to accept an invitation opened by…
- CVE-2023-26689 — Critical (CVSS 9.8): An issue discovered in CS-Cart MultiVendor 4.16.1 allows attackers to alter arbitrary user account profiles via crafted…
- CVE-2025-7972 — Critical (CVSS 9.1): A security issue exists within the FactoryTalk Linx Network Browser. By modifying the process.env.NODE_ENV to…
- CVE-2024-48853 — Critical (CVSS 9.0): An escalation of privilege vulnerability in ASPECT could provide an attacker root access to a server when logged in as…
- CVE-2026-35638 — High (CVSS 8.8): OpenClaw before 2026.3.22 contains a privilege escalation vulnerability in the Control UI that allows unauthenticated…
- CVE-2023-3932 — High (CVSS 8.2): An issue has been discovered in GitLab EE affecting all versions starting from 13.12 before 16.0.8, all versions…