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

Exploitability

The vulnerability requires an authenticated attacker with access to create or modify Harbor integration settings. The exploit involves creating a malicious Harbor server response that includes path traversal sequences, which when processed by GitLab, can leak the CSRF token. The vulnerability has been confirmed to be exploitable in self-hosted environments, particularly those without strict 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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

gitlab: 17.5.5-1

Fixed

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-85706CRITICAL10
  • GitLab logoGitLab
  • gitlab
YesYesSep 12, 2026
CVE-2026-87719CRITICAL9.9
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesSep 12, 2026
CVE-2026-75871CRITICAL9.6
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 27, 2026
CVE-2026-77801MEDIUM6.5
  • GitLab logoGitLab
  • gitlab-cng-19.3
NoYesAug 26, 2026
CVE-2026-7487LOW3.5
  • GitLab logoGitLab
  • gitlab-rails-19.3
NoYesAug 26, 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