Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2023-7045
GitLab vulnerability analysis and mitigation

Overview

A Cross-Site Request Forgery (CSRF) vulnerability was discovered in GitLab CE/EE affecting versions from 13.11 before 16.10.6, from 16.11 before 16.11.3, and from 17.0 before 17.0.1. The vulnerability was assigned CVE-2023-7045 and was disclosed on May 23, 2024. This security flaw allows attackers to exfiltrate anti-CSRF tokens through the Kubernetes Agent Server (KAS) (NVD, GitLab Issue).

Technical details

The vulnerability is classified as a Cross-Site Request Forgery (CWE-352) with a CVSS v3.1 base score of 6.1 (Medium) according to NIST NVD assessment. GitLab Inc. assigned a slightly lower CVSS score of 5.4 (Medium). The attack vector is network-based (AV:N) with low attack complexity (AC:L), requiring user interaction (UI:R) and affecting changed scope (S:C) with low confidentiality and integrity impacts (NVD).

Impact

When successfully exploited, this vulnerability allows attackers to exfiltrate anti-CSRF tokens via the Kubernetes Agent Server, potentially leading to unauthorized cross-site requests. The impact primarily affects the confidentiality and integrity of the system, with no direct impact on availability (NVD).

Exploitability

The vulnerability requires network access and user interaction to exploit. Proof of concept exploits have been documented in the GitLab issue tracker and HackerOne report, indicating that the vulnerability is exploitable in practice (GitLab Issue, HackerOne Report).

Mitigation and workarounds

GitLab has addressed this vulnerability by releasing patched versions: 16.10.6, 16.11.3, and 17.0.1. Users are advised to upgrade to these or later versions to mitigate the risk. The fix was released on May 22, 2024 (NVD).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-79708HIGH8.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-78252HIGH8.2
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-86341MEDIUM4.4
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-8030MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026
CVE-2026-7514MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management