CVE-2023-6680: Improper Certificate Validation in GitLab
An improper certificate validation issue in Smartcard authentication in GitLab EE 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 allows an attacker to authenticate as another user given their public key if they use Smartcard authentication. Smartcard authentication is an experimental feature and has to be manually enabled by an administrator.
Security readout for executives and security teams
Plain-English summary
This affects GitLab Enterprise Edition instances that enabled experimental Smartcard authentication. A certificate validation flaw could let an unauthenticated attacker log in as another user if they have that user’s public key. The main business risk is unauthorized access to private projects, code, issues, and settings in affected GitLab deployments.
Executive priority
Treat this as high priority for GitLab EE environments using Smartcard authentication, especially where GitLab stores sensitive code or deployment secrets. Organizations not using Smartcard authentication have lower urgency, but should still verify configuration and version status.
Technical view
CVE-2023-6680 is CWE-295 improper certificate validation in GitLab EE Smartcard authentication. Affected versions are from 11.6 before 16.4.4, 16.5 before 16.5.4, and 16.6 before 16.6.2. CVSS 3.1 is 7.4, with network access, high attack complexity, no privileges, no user interaction, and high confidentiality and integrity impact.
Likely exposure
Exposure is likely limited to GitLab EE instances running affected versions where an administrator manually enabled experimental Smartcard authentication. GitLab instances without Smartcard authentication enabled are not described as exposed by the source bundle.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires Smartcard authentication to be enabled and the attacker to possess the victim user’s public key. The attack can result in account impersonation, but the CVSS vector indicates high attack complexity.
Researcher notes
Evidence is limited to CVE metadata and a referenced GitLab issue that may require permissions. Focus validation on Smartcard authentication enablement, affected version ranges, and identity binding behavior. Do not assume broader GitLab authentication exposure beyond the Smartcard feature described in the sources.
Mitigation direction
Upgrade GitLab EE to 16.4.4, 16.5.4, 16.6.2, or later supported releases.
Disable Smartcard authentication if it is not required for business operations.
Review GitLab vendor guidance for any additional hardening or configuration notes.
Prioritize instances hosting sensitive source code, credentials, or regulated data.
Validation and detection
Inventory GitLab EE versions and identify any releases in the affected ranges.
Confirm whether Smartcard authentication is enabled in GitLab configuration.
Check authentication logs for unusual Smartcard login activity or unexpected account access.
Verify upgraded instances report a fixed version after maintenance.
Confirm compensating controls if upgrade timing is delayed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-295: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-295 · source CWE mapping
Improper Certificate Validation
Improper Certificate Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.