{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
              "cpe:2.3:a:gitlab:gitlab:19.1.0:*:*:*:enterprise:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "18.6.0"
              },
              {
                "fixed": "18.11.6"
              },
              {
                "introduced": "19.0.0"
              },
              {
                "fixed": "19.0.3"
              },
              {
                "introduced": "19.1.0"
              },
              {
                "last_affected": "19.1.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "5927b4ad8ecf8b257f14761954d6e25858a3dc33"
            },
            {
              "fixed": "0626dbe45d0ea9a431f494135ee4636d149eb523"
            },
            {
              "introduced": "f07e3c5b3c8128be5db112e5b2b618fe31ea1b35"
            },
            {
              "fixed": "e1892478cfb7980c694d13e0e5e15e129aa3d908"
            },
            {
              "introduced": "67581074a0aab1f53cdafe7eead5f5d07f3afec8"
            },
            {
              "last_affected": "67581074a0aab1f53cdafe7eead5f5d07f3afec8"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ],
      "versions": [
        "19.1.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5309.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "18.6"
          },
          {
            "fixed": "18.11.6"
          },
          {
            "introduced": "19.0"
          },
          {
            "fixed": "19.0.3"
          },
          {
            "introduced": "19.1"
          },
          {
            "fixed": "19.1.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "18.6"
          },
          {
            "fixed": "18.11.6"
          },
          {
            "introduced": "19.0"
          },
          {
            "fixed": "19.0.3"
          },
          {
            "introduced": "19.1"
          },
          {
            "fixed": "19.1.1"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "details": "GitLab has remediated an issue in GitLab EE affecting all versions from 18.6 before 18.11.6, 19.0 before 19.0.3, and 19.1 before 19.1.1 that under certain conditions could have allowed an authenticated user to read or modify another group's virtual registry cleanup policy settings without authorization.",
  "id": "CVE-2026-5309",
  "modified": "2026-08-17T03:36:23.506307511Z",
  "published": "2026-06-25T04:34:29.038Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-1-released/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/595468"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5309.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5309"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/3628793"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Authorization Bypass Through User-Controlled Key in GitLab"
}