{"id":"CVE-2023-6477","summary":"Incorrect Privilege Assignment in GitLab","details":"An issue has been discovered in GitLab EE affecting all versions starting from 16.5 before 16.7.6, all versions starting from 16.8 before 16.8.3, all versions starting from 16.9 before 16.9.1. When a user is assigned a custom role with admin_group_member permission, they may be able to make a group, other members or themselves Owners of that group, which may lead to privilege escalation.","aliases":["BIT-gitlab-2023-6477"],"modified":"2026-04-10T05:07:39.369831Z","published":"2024-02-21T23:31:09.811Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6477.json","cna_assigner":"GitLab","cwe_ids":["CWE-266"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6477.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6477"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/433463"},{"type":"REPORT","url":"https://hackerone.com/reports/2270898"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"fc87c9d4cca1536abcf902b4128f5c2004d87162"},{"fixed":"c8f3448a2f0cfb3c812fc4619e0f16bc3feb133b"}],"database_specific":{"versions":[{"introduced":"16.5"},{"fixed":"16.7.6"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"1e912d57d5a8f1135f4d41e25469069790134d41"},{"fixed":"39213e8fab4a70aa7cf64bb1c75012bb11fd7b15"}],"database_specific":{"versions":[{"introduced":"16.8"},{"fixed":"16.8.3"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"76326ae8b898b38c8217ad037ed7122be00e62f0"},{"fixed":"cc62007c12dc634c7442a9b1dc94508e50e5dba5"}],"database_specific":{"versions":[{"introduced":"16.9"},{"fixed":"16.9.1"}]}}],"versions":["v16.8.0-ee","v16.9.0-ee","v16.9.0-rc44-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6477.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"}]}