{"id":"CVE-2024-12570","summary":"Privilege Context Switching Error in GitLab","details":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.4.6, from 17.5 prior to 17.5.4, and from 17.6 prior to 17.6.2. It may have been possible for an attacker with a victim's `CI_JOB_TOKEN` to obtain a GitLab session token belonging to the victim.","aliases":["BIT-gitlab-2024-12570"],"modified":"2026-04-10T05:08:27.972986Z","published":"2024-12-12T11:30:44.818Z","related":["CGA-cq7f-p994-2q5j"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12570.json","cna_assigner":"GitLab","cwe_ids":["CWE-270"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12570.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12570"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/494694"},{"type":"REPORT","url":"https://hackerone.com/reports/2724948"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"036576a25d67513637c1e2cba5859af47695188e"},{"fixed":"25a55583bbcf724ad625848d48a529467e7c7097"}],"database_specific":{"versions":[{"introduced":"13.7"},{"fixed":"17.4.6"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"173959793c1163052d16c2158773ea9504aa712e"},{"fixed":"0397324ed14bb7f0ede422841d713fd22349302f"}],"database_specific":{"versions":[{"introduced":"17.5"},{"fixed":"17.5.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"a8830741d3c4ad7f6a70eed38ee7af31f298d093"},{"fixed":"6ff444aad3a327c384b0859be326d042dde090ee"}],"database_specific":{"versions":[{"introduced":"17.6"},{"fixed":"17.6.2"}]}}],"versions":["v17.5.0-ee","v17.6.0-ee","v17.6.2-rc30-ee","v17.6.2-rc31-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12570.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L"}]}