# CVE-2024-8641: 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.58%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-12T18:26:18.243Z
- Modified: 2026-06-17T08:23:02.147Z
- Also known as: BIT-GITLAB-2024-8641
- 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.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.

(As written by CVE List.)

## Affected

- GitLab GitLab: from 13.7 before 17.1.7; from 17.2 before 17.2.5; from 17.3 before 17.3.2; from 13.7.0 before 17.1.7; from 17.2.0 before 17.2.5; from 17.3.0 before 17.3.2
- gitlab (Bitnami): from 13.7.0 before 17.1.7; from 17.2.0 before 17.2.5; from 17.3.0 before 17.3.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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://hackerone.com/reports/2595495> (exploit, permissions-required, technical-description, web)
- <https://gitlab.com/gitlab-org/gitlab/-/issues/471954> (broken-link, issue-tracking, permissions-required, web)
- <https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8641> (web)

## Sources

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

---

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