# CVE-2024-12570: Privilege Context Switching Error in GitLab

- Severity: Medium 6.7 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-12-12T11:30:44.818Z
- Modified: 2026-09-08T08:47:43.803Z
- Also known as: BIT-GITLAB-2024-12570
- Weaknesses: CWE-270
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitLab

## Description

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.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 13.7 before 17.4.6; from 17.5 before 17.5.4; from 17.6 before 17.6.2; from 13.7.0 before 17.4.6; from 17.5.0 before 17.5.4; from 17.6.0 before 17.6.2
- gitlab (Bitnami): from 13.7.0 before 17.4.6; from 17.5.0 before 17.5.4; from 17.6.0 before 17.6.2

## Every score

- GitLab: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/494694> (exploit, advisory, issue-tracking, permissions-required, vendor-advisory)
- <https://hackerone.com/reports/2724948> (exploit, permissions-required, technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-12570> (web)

## Sources

- CVE List: [CVE-2024-12570](https://www.cve.org/CVERecord?id=CVE-2024-12570), CVE Terms of Use, modified 2024-12-17
- NVD: [CVE-2024-12570](https://nvd.nist.gov/vuln/detail/CVE-2024-12570), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2024-12570](https://osv.dev/vulnerability/BIT-GITLAB-2024-12570), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-12570 · Whole record: https://cve.day/CVE-2024-12570.json · Rebuilt by cve.day 2026-11-25T22:58:50.052Z
