Skip to content
Heist/ feed
Back to feed
Medium

Incorrect Privilege Assignment in GitLab

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-6477
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:04 UTC · Revision 1

Source evidence

Incorrect Privilege Assignment in GitLab

core-osv · Original source

Published 21 Feb 2024, 23:31 UTC

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.

osv:CVE-2023-6477
Complete source record
{
  "id": "53ac2371219a9eb60eb8087ef88f5cc26a74886cec57381cfa38696b91853783",
  "url": "https://osv.dev/vulnerability/CVE-2023-6477",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incorrect Privilege Assignment in GitLab",
    "summary": "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.",
    "evidence": "osv:CVE-2023-6477",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-6477",
      "aliases": [
        "BIT-gitlab-2023-6477",
        "CVE-2023-6477"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc87c9d4cca1536abcf902b4128f5c2004d87162"
                },
                {
                  "fixed": "c8f3448a2f0cfb3c812fc4619e0f16bc3feb133b"
                },
                {
                  "introduced": "1e912d57d5a8f1135f4d41e25469069790134d41"
                },
                {
                  "last_affected": "39213e8fab4a70aa7cf64bb1c75012bb11fd7b15"
                },
                {
                  "introduced": "76326ae8b898b38c8217ad037ed7122be00e62f0"
                },
                {
                  "last_affected": "76326ae8b898b38c8217ad037ed7122be00e62f0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.5.0"
                      },
                      {
                        "fixed": "16.7.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.8.0"
                      },
                      {
                        "last_affected": "16.8.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:16.9.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.9.0"
                      },
                      {
                        "last_affected": "16.9.0"
                      }
                    ],
                    "source": "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.170421646Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6477.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-6477",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/433463",
        "https://hackerone.com/reports/2270898"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-266"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6477.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-6477",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490431,
  "published_at": "2024-02-21T23:31:09.811+00:00"
}