{"id":"CVE-2024-5258","summary":"Authorization Bypass Through User-Controlled Key in GitLab","details":"An authorization vulnerability exists within GitLab from versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 where an authenticated attacker could utilize a crafted naming convention to bypass pipeline authorization logic.","aliases":["BIT-gitlab-2024-5258"],"modified":"2026-08-23T06:38:20.570119092Z","published":"2024-05-23T11:02:06.904Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5258.json","cna_assigner":"GitLab","cwe_ids":["CWE-639"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5258.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-5258"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/443254"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"053df647320e7cac5c255f9e07264a0c35548409"},{"fixed":"d134e2329e12dc93e72a8c3ed2744f75ef7a7e81"},{"introduced":"22834294718a25956b0a859c8eed72248300eeee"},{"fixed":"a5580f77e8802b47efc524ce8df3aff25b0ffcc2"},{"introduced":"8c75d0bf4a4190d94326f1a854d0a102ceca4392"},{"last_affected":"8c75d0bf4a4190d94326f1a854d0a102ceca4392"}],"database_specific":{"extracted_events":[{"introduced":"16.10.0"},{"fixed":"16.10.6"},{"introduced":"16.11.0"},{"fixed":"16.11.3"},{"introduced":"17.0.0"},{"last_affected":"17.0.0"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:17.0.0:*:*:*:enterprise:*:*:*"]}}],"versions":["17.0.0","v17.0.0-ee","v16.10.6-rc42-ee","v16.11.3-rc42-ee","v16.11.0-ee","v16.10.3-ee","v16.10.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5258.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}