{"id":"CVE-2023-5207","summary":"Execution with Unnecessary Privileges in GitLab","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.","aliases":["BIT-gitlab-2023-5207"],"modified":"2026-12-05T22:01:34.727015212Z","published":"2023-09-30T08:30:30.788Z","database_specific":{"cwe_ids":["CWE-250"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5207.json","cna_assigner":"GitLab"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"280a09dbca836a6eedf5da1e63953fe8da44bf4c"},{"fixed":"7fc27fe692abccaed7e2e0ebfea2aadf5140593f"},{"introduced":"3dfd4e0bcc7eae4330e7fed87ec74bee9a8bdf2d"},{"fixed":"40d6bde8c59f78957b08b3a7cd9622a97b7af981"},{"introduced":"e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"},{"last_affected":"e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"16.0.0"},{"fixed":"16.2.8"}]},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"16.0.0"},{"fixed":"16.2.8"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"16.3.0"},{"fixed":"16.3.5"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"16.3.0"},{"fixed":"16.3.5"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:gitlab:gitlab:16.4.0:*:*:*:community:*:*:*","range":[{"introduced":"16.4.0"},{"last_affected":"16.4.0"}],"source":"CPE_STRING"},{"range":[{"introduced":"16.4.0"},{"last_affected":"16.4.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:16.4.0:*:*:*:enterprise:*:*:*"}]}}],"versions":["16.4.0","v16.4.0-ee","v16.3.3-ee","v16.3.2-ee","v16.3.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5207.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"}]}