CVE-2023-7045: Cross-Site Request Forgery (CSRF) in GitLab

Published May 22, 2024
·
Updated

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).

Other sources

A CSRF vulnerability exists within GitLab CE/EE from versions 16.3 up to 16.10.6, from 16.11 up to 16.11.3, from 17.0 up to 17.0.1. By leveraging this vulnerability, an attacker could exfiltrate anti-CSRF tokens via the Kubernetes Agent Server (KAS). This is a medium severity issue (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 5.4). It is now mitigated in the latest release and is assigned CVE-2023-7045.

GitLab

Affected Software

6 affected components
GitLab GitLab>=13.11.0<16.10.6
GitLab GitLab>=13.11.0<16.10.6
GitLab GitLab>=16.11.0<16.11.3
GitLab GitLab>=16.11.0<16.11.3
GitLab GitLab=17.0.0
GitLab GitLab=17.0.0

Remediation

Information

Upgrade to versions 16.10.6, 16.11.3, 17.0.1 or above.

Event History

May 23, 2024
CVE Published
via MITRE·11:02 AM
Data Sourced
via MITRE·11:02 AM
RemedyDescriptionSeverityWeakness
News Published
via BleepingComputer·05:43 PM
News Published
via BleepingComputer·05:44 PM
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
Description

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-7045?

CVE-2023-7045 has a high severity rating due to its potential to allow attackers to exfiltrate anti-CSRF tokens.

2

How do I fix CVE-2023-7045?

To remediate CVE-2023-7045, upgrade GitLab CE/EE to version 16.10.6 or later, 16.11.3 or later, or 17.0.1.

3

What versions are affected by CVE-2023-7045?

CVE-2023-7045 affects GitLab CE/EE versions from 13.11 before 16.10.6, from 16.11 before 16.11.3, and from 17.0 before 17.0.1.

4

Can CVE-2023-7045 lead to account takeover?

Yes, exploiting CVE-2023-7045 can enable attackers to take over user accounts by exfiltrating crucial tokens.

5

What type of vulnerability is CVE-2023-7045?

CVE-2023-7045 is classified as a Cross-Site Request Forgery (CSRF) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203