{"id":"CVE-2024-8641","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.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.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-8641"],"modified":"2026-04-10T05:19:54.860392Z","published":"2024-09-12T18:26:18.243Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8641.json","cna_assigner":"GitLab","cwe_ids":["CWE-270"]},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8641.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8641"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/471954"},{"type":"REPORT","url":"https://hackerone.com/reports/2595495"},{"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":"84cf95d60d2691201b17bb4d41a95987ded847fb"}],"database_specific":{"versions":[{"introduced":"13.7"},{"fixed":"17.1.7"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f1ebbe522423b514610449d0f6dc7a262f855314"},{"fixed":"e57a21dee4e7487b5312c3b2c1f2db63efdbb773"}],"database_specific":{"versions":[{"introduced":"17.2"},{"fixed":"17.2.5"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"5aad128b1defa01641e69fdcd5a2ec16bd1d4c2c"},{"fixed":"a141138e1e0577692eba3d1eb9215fd6f3639003"}],"database_specific":{"versions":[{"introduced":"17.3"},{"fixed":"17.3.2"}]}}],"versions":["v17.2.0-ee","v17.3.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8641.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"}]}