CVE-2024-8647
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab affecting all versions starting from 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self-hosted installations, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled (NVD, GitLab Release).

Technical details

The vulnerability is classified as a Client-Side Path Traversal issue in Harbor artifact links. The issue occurs when processing artifact links, where a maliciously crafted Harbor server response containing path traversal sequences could lead to CSRF token leakage. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (GitLab Release).

Impact

The vulnerability could allow an attacker to leak the CSRF token to an external site on self-hosted installations where the Harbor integration is enabled. This could potentially lead to Cross-Site Request Forgery attacks and account takeover by adding attacker-controlled email addresses to victim accounts. The impact is particularly significant for self-hosted instances without proper Content Security Policy (CSP) configurations (GitLab Issue).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 17.4.6, 17.5.4, and 17.6.2. Users are strongly recommended to upgrade to these patched versions immediately. GitLab.com has already been updated with the fix, and GitLab Dedicated customers do not need to take any action (GitLab Release).

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-2025-8405HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12029HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-11984MEDIUM6.8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-4097MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12734LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025

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