{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.5"
              },
              {
                "fixed": "17.7.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "fc87c9d4cca1536abcf902b4128f5c2004d87162"
            },
            {
              "fixed": "14925e89dd8fcbadc4624ab451d64238cc651365"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.8"
              },
              {
                "fixed": "17.8.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "f03594b9e09b648c839e9c008286a24c93c82373"
            },
            {
              "fixed": "d7f0517433cc803ed10f8fed5b6b667d66f7a296"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.9"
              },
              {
                "fixed": "17.9.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "f5041566b342c2f30a8d63b8117272c454e18410"
            },
            {
              "fixed": "56dedd4cf9e7ce144b36c34ed45aa57355859659"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7296.json"
  },
  "details": "An issue was discovered in GitLab EE affecting all versions from 16.5 prior to 17.7.7, 17.8 prior to 17.8.5, and 17.9 prior to 17.9.2  which allowed a user with a custom permission to approve pending membership requests beyond the maximum number of allowed users.",
  "id": "CVE-2024-7296",
  "modified": "2026-04-01T23:08:13.447127648Z",
  "published": "2025-03-13T06:00:54.415Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7296.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-7296"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/475056"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2602274"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Incorrect Authorization in GitLab"
}