# CVE-2024-13041

## Summary

- **CVE ID:** CVE-2024-13041
- **Severity:** MEDIUM
- **CVSS Score:** 4.2 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N)
- **CWE:** CWE-286
- **Published:** Jan 9, 2025
- **Last Modified:** Mar 13, 2026

## 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 — GitLab (16.4)
- GitLab — GitLab (17.6)
- GitLab — GitLab (17.7)

## References

- [CNA](https://gitlab.com/gitlab-org/gitlab/-/issues/479165)
- [CNA](https://about.gitlab.com/releases/2025/01/08/patch-release-gitlab-17-7-1-released/#instance-saml-does-not-respect-external_provider-configuration)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.28%
- **EPSS Percentile:** 20.6

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._