{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.11"
              },
              {
                "fixed": "17.11.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "b7c061ce59a5eca5c5764fcf61be8a5103fb7d55"
            },
            {
              "fixed": "eb2929592bc8e3c7b766d886766a098f10b33eb1"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "18.0"
              },
              {
                "fixed": "18.0.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "504fd9e5236e13d674e051c6b8a1e9892b371c58"
            },
            {
              "fixed": "073fca15cf94474af5984eda431aefd84307ec03"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5121.json"
  },
  "details": "An issue has been discovered in GitLab CE/EE affecting all versions from 17.11 before 17.11.4 and 18.0 before 18.0.2. A missing authorization check may have allowed compliance frameworks to be applied to projects outside the compliance framework's group.",
  "id": "CVE-2025-5121",
  "modified": "2026-04-01T23:10:01.855066548Z",
  "published": "2025-06-20T17:12:39.860Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5121.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5121"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/545429"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/3153908"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Missing Authorization in GitLab"
}