{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.4"
              },
              {
                "fixed": "16.4.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"
            },
            {
              "fixed": "229bc5f59850b16213b035138ad76f65b6724864"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.3"
              },
              {
                "fixed": "16.3.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "3dfd4e0bcc7eae4330e7fed87ec74bee9a8bdf2d"
            },
            {
              "fixed": "40d6bde8c59f78957b08b3a7cd9622a97b7af981"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "16.0.0"
              },
              {
                "fixed": "16.2.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "280a09dbca836a6eedf5da1e63953fe8da44bf4c"
            },
            {
              "fixed": "7fc27fe692abccaed7e2e0ebfea2aadf5140593f"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-250"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5207.json"
  },
  "details": "A vulnerability was discovered in GitLab CE and EE affecting all versions starting 16.0 prior to 16.2.8, 16.3 prior to 16.3.5, and 16.4 prior to 16.4.1. An authenticated attacker could perform arbitrary pipeline execution under the context of another user.",
  "id": "CVE-2023-5207",
  "modified": "2026-04-01T23:09:53.866631774Z",
  "published": "2023-09-30T08:30:30.788Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5207.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-5207"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/425604"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/425857"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2174141"
    },
    {
      "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:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Execution with Unnecessary Privileges in GitLab"
}