# CVE-2023-7028: Weak Password Recovery Mechanism for Forgotten Password in GitLab

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Yes: in CISA KEV since 2024-05-01; federal due date 2024-05-22
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 79.20% (percentile 100, 2026-11-26)
- **CWE:** CWE-640
- **Aliases:** EDB-51889
- **Published:** 2024-01-12T13:56:41.726Z
- **Modified:** 2026-08-15T04:10:51.207Z

## Who should check

- Anyone running GitLab \>= 16.1, \< 16.1.6; \>= 16.2, \< 16.2.9; \>= 16.3, \< 16.3.7; \>= 16.4, \< 16.4.5; \>= 16.5, \< 16.5.6; \>= 16.6, \< 16.6.4; \>= 16.7, \< 16.7.2

## Description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.3 prior to 16.3.7, 16.4 prior to 16.4.5, 16.5 prior to 16.5.6, 16.6 prior to 16.6.4, and 16.7 prior to 16.7.2 in which user account password reset emails could be delivered to an unverified email address.

## Affected and fixed versions

- GitLab: \>= 16.1, \< 16.1.6; \>= 16.2, \< 16.2.9; \>= 16.3, \< 16.3.7; \>= 16.4, \< 16.4.5; \>= 16.5, \< 16.5.6; \>= 16.6, \< 16.6.4; \>= 16.7, \< 16.7.2 (cvelist)

## Mitigation

- Upgrade GitLab to 16.7.2 or later.

## Timeline

- 2024-01-12: Published
- 2024-05-01: Added to CISA KEV (exploited in the wild)
- 2024-05-22: CISA remediation due date for US federal agencies
- 2026-08-15: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-7028. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-7028.md
Affected: GitLab >= 16.1, < 16.1.6; >= 16.2, < 16.2.9; >= 16.3, < 16.3.7; >= 16.4, < 16.4.5; >= 16.5, < 16.5.6; >= 16.6, < 16.6.4; >= 16.7, < 16.7.2
Fixed in: GitLab 16.1.6, GitLab 16.2.9, GitLab 16.3.7, GitLab 16.4.5, GitLab 16.5.6, GitLab 16.6.4, GitLab 16.7.2

Steps:
1. Search this machine and project for GitLab: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-7028 being exploited?

Yes. CISA lists CVE-2023-7028 in its Known Exploited Vulnerabilities catalog since 2024-05-01, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 79.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-7028?

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-7028?

GitLab \>= 16.1, \< 16.1.6; \>= 16.2, \< 16.2.9; \>= 16.3, \< 16.3.7; \>= 16.4, \< 16.4.5; \>= 16.5, \< 16.5.6; \>= 16.6, \< 16.6.4; \>= 16.7, \< 16.7.2.

### Is there a fix for CVE-2023-7028?

Yes. Fixed in GitLab 16.1.6, GitLab 16.2.9, GitLab 16.3.7, GitLab 16.4.5, GitLab 16.5.6, GitLab 16.6.4, GitLab 16.7.2. Upgrade GitLab to 16.7.2 or later.

### How do I check if I'm affected by CVE-2023-7028?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- exploit: <https://gitlab.com/gitlab-org/gitlab/-/issues/436084>
- exploit: <https://hackerone.com/reports/2293343>
- exploit: <https://www.vicarius.io/vsociety/posts/critical-gitlab-account-takeover-vulnerability-cve-2023-7028>
- exploit: <https://www.exploit-db.com/exploits/51889>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-7028>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-7028>
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/51889>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2023-7028> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-7028>
