CVE-2023-7028: GitLab CE/EE Password Reset Account Takeover
- Vendor
- GitLab
CVE-2023-7028 is an unauthenticated account takeover vulnerability in GitLab Community Edition and Enterprise Edition password reset handling. An email verification flaw introduced with secondary-email password reset support allows a crafted request containing multiple email addresses to deliver a target account's password reset message to an attacker-controlled, unverified address. Affected releases are 16.1 before 16.1.6, 16.2 before 16.2.9, 16.3 before 16.3.7, 16.4 before 16.4.5, 16.5 before 16.5.6, 16.6 before 16.6.4, and 16.7 before 16.7.2. Exploitation requires no victim interaction and can enable account takeover when two-factor authentication is not enabled. The flaw resides in the GitLab Rails application and does not affect GitLab Runner.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can reset another user's password and, without a second-factor requirement, authenticate with that account's privileges. Compromise can expose private repositories, source code, project data, and accessible secrets, and permit unauthorized repository or CI/CD changes. Compromise of a privileged account increases the scope of potential administrative abuse. Two-factor authentication does not prevent the unauthorized password reset but prevents account takeover through this flaw alone without the second factor. The vulnerability is actively exploited and was added to CISA's Known Exploited Vulnerabilities catalog on May 1, 2024; it does not itself provide direct remote code execution.
Mitigation
If you can’t patch tonight, do this now.
Enforce two-factor authentication for all accounts, especially privileged accounts. This limits account takeover but does not prevent an attacker from resetting a password. For self-managed deployments using an external identity provider, disable all password authentication options through GitLab sign-in restrictions as a temporary mitigation. Apply the security update rather than relying solely on these controls.
Remediation
Patch, then assume compromise.
Upgrade GitLab CE/EE to a currently supported, patched release. The first fixes for this vulnerability were released in 16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6, 16.6.4, and 16.7.2 for their respective branches. GitLab subsequently recommended 16.5.7, 16.6.5, 16.7.3, or newer to address an additional database migration issue in the earlier patch set. Review password reset request and audit logs for email parameters containing arrays of multiple addresses and investigate affected accounts for unauthorized access or changes.
Exploits
9 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-7028 exploited in the wild?
- Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 1, 2024.
- Is there a public exploit for CVE-2023-7028?
- Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2023-7028, the earliest disclosed Jan 11, 2024.
- Is there a patch for CVE-2023-7028?
- Upgrade GitLab CE/EE to a currently supported, patched release. The first fixes for this vulnerability were released in 16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6, 16.6.4, and 16.7.2 for their respective branches.
- What products are affected by CVE-2023-7028?
- Gitlab.
- How severe is CVE-2023-7028?
- CVE-2023-7028 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 79.2% (100th percentile) as of Nov 9, 2026.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.