Skip to content
Heist/ feed
Back to feed
Medium

Privilege Chaining in GitLab

Type: advisorySources: OSV

A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-1299
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 02:14 UTC · Revision 1

Source evidence

Privilege Chaining in GitLab

core-osv · Original source

Published 7 Mar 2024, 00:39 UTC

A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.

osv:CVE-2024-1299
Complete source record
{
  "id": "f57eee3495bd25f14666944a0f69d0960aefc854a4e8c7f7ba31db1d7a1baaf0",
  "url": "https://osv.dev/vulnerability/CVE-2024-1299",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Privilege Chaining in GitLab",
    "summary": "A privilege escalation vulnerability was discovered in GitLab affecting versions 16.8 prior to 16.8.4 and 16.9 prior to 16.9.2. It was possible for a user with custom role of `manage_group_access_tokens` to rotate group access tokens with owner privileges.",
    "evidence": "osv:CVE-2024-1299",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-1299",
      "aliases": [
        "BIT-gitlab-2024-1299",
        "CVE-2024-1299"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1e912d57d5a8f1135f4d41e25469069790134d41"
                },
                {
                  "fixed": "5e8469c3a8c7fae68639fe31ea6ddda6b1f2b8d0"
                },
                {
                  "introduced": "76326ae8b898b38c8217ad037ed7122be00e62f0"
                },
                {
                  "fixed": "0d71d32d32191ce53dc39ff2ef1f55340848997c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "16.8.0"
                      },
                      {
                        "fixed": "16.8.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.8.0"
                      },
                      {
                        "fixed": "16.8.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "16.9.0"
                      },
                      {
                        "fixed": "16.9.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "16.9.0"
                      },
                      {
                        "fixed": "16.9.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v16.9.0-rc44-ee",
            "v16.9.0-ee",
            "v16.8.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1299.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.125537642Z",
      "provider": "osv",
      "references": [
        "https://about.gitlab.com/releases/2024/03/06/security-release-gitlab-16-9-2-released/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1299.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-1299",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/440745",
        "https://hackerone.com/reports/2356976"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-268"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1299.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-1299",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491817,
  "published_at": "2024-03-07T00:39:45.501+00:00"
}