CVE-2023-4378
GitLab vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2023-4378) was discovered in GitLab CE/EE affecting all versions from 11.8 before 16.1.5, all versions from 16.2 before 16.2.5, and all versions from 16.3 before 16.3.1. The vulnerability allows a malicious Maintainer to leak the sentry token by changing the configured URL in the Sentry error tracking settings page. This vulnerability was identified as a bypass of an incomplete fix for CVE-2022-4365 (GitLab Release, NVD).

Technical details

The vulnerability exists in the URL validation mechanism where the security check only verifies if the new URL starts with the original API host. This implementation flaw allows an attacker to bypass the protection by using a domain that starts with the same string as the legitimate domain. For example, if the legitimate server is hosted on 'example.com', an attacker could use 'example.co' to bypass the check. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N) (GitLab Release).

Impact

The successful exploitation of this vulnerability allows an attacker with Maintainer privileges to leak the configured Sentry token. This token provides both read and write access to the Sentry instance, potentially compromising the confidentiality and integrity of error tracking data (GitLab Release).

Mitigation and workarounds

The vulnerability has been fixed in GitLab versions 16.1.5, 16.2.5, and 16.3.1. Organizations are strongly recommended to upgrade to these or later versions immediately. GitLab.com has already been updated with the patched version (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-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 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