Improper group namespace URL modification in GitLab CE/EE
CVE-2024-5257 is an authorization flaw in GitLab Community Edition and Enterprise Edition affecting versions 17.0 prior to 17.0.4 and 17.1 prior to 17.1.2. A user holding the Developer role and granted the admin_compliance_framework custom role permission could improperly modify the URL of a group namespace. The issue indicates insufficient restriction of privileged administrative functionality tied to custom role permissions, allowing a lower-privileged user to perform a namespace URL change that should require stronger authorization.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a Developer-level user with the specified custom role permission to alter a group namespace URL without intended authorization. This can undermine administrative controls over group identity and namespace management, and may enable security policy bypass or operational disruption associated with unauthorized namespace changes. Available information does not indicate direct code execution or privilege escalation to full administrator, but it does demonstrate unauthorized modification of protected configuration.
If you can’t patch tonight, do this now.
Until patching is completed, review and restrict assignment of the admin_compliance_framework custom role permission, especially when combined with the Developer role. Limit use of custom roles to the minimum necessary, audit group namespace changes for unauthorized modifications, and monitor administrative actions affecting group configuration. If feasible, temporarily remove the affected permission from non-administrative users.
Patch, then assume compromise.
Upgrade GitLab CE/EE to a fixed release: 17.0.4 or later in the 17.0 series, or 17.1.2 or later in the 17.1 series. For deployments on older supported branches, apply the vendor-provided security update path as applicable. GitLab.com and GitLab Dedicated were reported as already patched.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.