CVE-2022-3902
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab affecting all versions starting from 9.3 before 15.4.6, all versions starting from 15.5 before 15.5.5, and all versions starting from 15.6 before 15.6.1. The vulnerability allowed project maintainers to unmask webhook secret tokens by reviewing the logs after testing webhooks (GitLab Release, CVE Mitre).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS score of 5.5 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N). The issue stems from webhook logs exposing secret tokens in plain text when project maintainers review logs after testing webhooks. Despite UI improvements to hide secrets in input fields, the webhook logs at the same page still contained the secret in plain text, particularly in the X-Gitlab-Token HTTP header (GitLab Release).

Impact

The exposure of webhook secret tokens could allow unauthorized project maintainers to gain access to these secrets, potentially enabling them to spoof requests to the receiving server. This creates a security risk where maintainers who shouldn't have access to the receiving service could potentially manipulate or abuse the webhook functionality (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 15.4.6, 15.5.5, and 15.6.1. Organizations running affected versions should upgrade to these patched versions or later to mitigate the risk. GitLab.com was promptly updated to run 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-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