What’s Vulnerable › Vulnerabilities
CVE-2023-7045: Cross-Site Request Forgery (CSRF) in GitLab
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-05-23 · updated 2026-06-17
- Weakness: CWE-352
Description
A CSRF vulnerability exists within GitLab CE/EE from versions 13.11 before 16.10.6, from 16.11 before 16.11.3, from 17.0 before 17.0.1. By leveraging this vulnerability, an attacker could exfiltrate anti-CSRF tokens via the Kubernetes Agent Server (KAS).
Affected products
- GitLab: from 13.11.0 before 16.10.6; from 16.11.0 before 16.11.3; 17.0.0 — fixed in 16.10.6, 16.11.3
How to fix
Upgrade to a fixed version: GitLab 16.10.6, 16.11.3. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/436358
- https://hackerone.com/reports/2286823
- https://gitlab.com/gitlab-org/gitlab/-/issues/436358
- https://hackerone.com/reports/2286823
Get alerted when CVE-2023-7045 or the next vulnerability affects your stack