CVE-2024-12570 json
Privilege Context Switching Error in GitLab
published 2024-12-12 22 mo ago modified 2026-09-08 2 mo ago also BIT-gitlab-2024-12570 , EUVD-2024-50966
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 17.4.6, 17.5.4, 17.6.2
- GitLab GitLab 17.4.6, 17.5.4, 17.6.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 22 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2724948 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.com https://gitlab.com/gitlab-org/gitlab/-/issues/494694 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
| OSV | 3.1 | 6.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=13.7.0, <17.4.6 >=17.5.0, <17.5.4 >=17.6.0, <17.6.2 |
17.4.6 17.5.4 17.6.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-270 Privilege Context Switching Error
- Technology feeds
References
-
hackerone.com
/reports/2724948
technical-description, exploit, permissions-required, web
-
gitlab.com
/gitlab-org/gitlab/-/issues/494694
issue-tracking, permissions-required, exploit, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-12570
web
Sources
- CVE List CVE-2024-12570
- NVD CVE-2024-12570
- OSV BIT-gitlab-2024-12570
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.