CVE-2023-6680
GitLab vulnerability analysis and mitigation

Overview

An improper certificate validation issue was discovered in GitLab Enterprise Edition's Smartcard authentication feature affecting all versions from 11.6 prior to 16.4.4, 16.5 prior to 16.5.4, and 16.6 prior to 16.6.2. The vulnerability was disclosed on December 15, 2023, and was assigned identifier CVE-2023-6680. The vulnerability allows an attacker to authenticate as another user if they have access to that user's public key when Smartcard authentication is enabled (GitLab Release, NVD).

Technical details

The vulnerability stems from an improper certificate validation in the Smartcard authentication implementation. The flaw allows an attacker to impersonate any user by simply sending an unauthenticated request to the endpoint '/-/smartcard/verify_certificate' with a URL-encoded version of the target user's public certificate. The vulnerability has been assigned a CVSS v3.1 base score of 7.4 (High) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. It's worth noting that Smartcard authentication is an experimental feature that must be manually enabled by an administrator (GitLab Release).

Impact

If exploited, this vulnerability allows an attacker to bypass authentication controls and impersonate any user who uses Smartcard authentication, provided they have access to the user's public certificate. This could lead to unauthorized access to sensitive information and resources within GitLab, potentially compromising the confidentiality and integrity of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 16.4.4, 16.5.4, and 16.6.2. Organizations running affected versions should upgrade to these patched versions immediately. The fix involves implementing encryption for the client certificate parameter when redirecting from the extract_certificate endpoint to the verify_certificate endpoint, preventing parameter manipulation (GitLab Release).

Community reactions

The vulnerability was responsibly disclosed by Lucas Serrano from PEReN (@LSerranoPEReN). GitLab has addressed the issue promptly by releasing security patches and assigning it a high severity rating (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-11224HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 14, 2026
CVE-2026-0723HIGH7.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 20, 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