{"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-08-23T06:37:50.671579210Z","published":"2024-02-21T23:31:09.811Z","database_specific":{"cwe_ids":["CWE-266"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6477.json","cna_assigner":"GitLab"},"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"},{"introduced":"1e912d57d5a8f1135f4d41e25469069790134d41"},{"last_affected":"39213e8fab4a70aa7cf64bb1c75012bb11fd7b15"},{"introduced":"76326ae8b898b38c8217ad037ed7122be00e62f0"},{"last_affected":"76326ae8b898b38c8217ad037ed7122be00e62f0"}],"database_specific":{"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"16.5.0"},{"fixed":"16.7.6"},{"introduced":"16.8.0"},{"last_affected":"16.8.3"},{"introduced":"16.9.0"},{"last_affected":"16.9.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["16.9.0","v16.8.3-ee","v16.9.0-ee","v16.8.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6477.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"}]}