An issue has been discovered in GitLab EE affecting all versions from 16.6 before 18.2.7, 18.3 before 18.3.3, and 18.4 before 18.4.1. Project Maintainers can exploit a vulnerability where they can assign custom roles to users with permissions exceeding their own, effectively granting themselves elevated privileges.
{
"cna_assigner": "GitLab",
"cwe_ids": [
"CWE-862"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10871.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "16.6.0"
},
{
"fixed": "18.2.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "16.6.0"
},
{
"fixed": "18.2.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "18.3.0"
},
{
"fixed": "18.3.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "18.3.0"
},
{
"fixed": "18.3.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:18.4.0:*:*:*:community:*:*:*",
"range": [
{
"introduced": "18.4.0"
},
{
"last_affected": "18.4.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:18.4.0:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "18.4.0"
},
{
"last_affected": "18.4.0"
}
],
"source": "CPE_STRING"
}
]
}