{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                "range": [
                  {
                    "introduced": "18.2.0"
                  },
                  {
                    "fixed": "19.3.6"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                "range": [
                  {
                    "introduced": "18.2.0"
                  },
                  {
                    "fixed": "19.3.6"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                "range": [
                  {
                    "introduced": "19.4.0"
                  },
                  {
                    "fixed": "19.4.3"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                "range": [
                  {
                    "introduced": "19.4.0"
                  },
                  {
                    "fixed": "19.4.3"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:19.5.0:*:*:*:community:*:*:*",
                "range": [
                  {
                    "introduced": "19.5.0"
                  },
                  {
                    "last_affected": "19.5.0"
                  }
                ],
                "source": "CPE_STRING"
              },
              {
                "cpe": "cpe:2.3:a:gitlab:gitlab:19.5.0:*:*:*:enterprise:*:*:*",
                "range": [
                  {
                    "introduced": "19.5.0"
                  },
                  {
                    "last_affected": "19.5.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          "events": [
            {
              "introduced": "64403a0daee4413eb45b939590f37c351b8e72bf"
            },
            {
              "fixed": "768c3d28a5b65440eb01ea2753136711c8ab01cc"
            },
            {
              "introduced": "fa703f93afaf1133cd263f6aa0e91d284d7f1ebf"
            },
            {
              "fixed": "ceebe641a1562c694898eeafef794eec40b90522"
            },
            {
              "introduced": "883b289c40e347a45878306997fc3dc9e7e11523"
            },
            {
              "last_affected": "883b289c40e347a45878306997fc3dc9e7e11523"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ],
      "versions": [
        "19.5.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12664.json"
  },
  "details": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1 that, under certain conditions, could have allowed an authenticated user with a read_api-scoped token to retrieve a project's incoming email address and create work items, bypassing the token's restrictions, due to insufficient scope enforcement on a GraphQL field.",
  "id": "CVE-2026-12664",
  "modified": "2026-11-05T21:16:10.277956877Z",
  "published": "2026-10-21T23:35:30.436Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/work_items/603510"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12664.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-12664"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/3735499"
    },
    {
      "type": "PACKAGE",
      "url": "https://gitlab.com/gitlab-org/gitlab"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Incorrect Authorization in GitLab"
}