CWE-640: Weak Password Recovery Mechanism for Forgotten Password
The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.
Last updated
Overview
This weakness may be:
the security question is too easy to guess or find an answer to (e.g. because the question is too common, or the answers can be found using social media).
there might be an implementation weakness in the password recovery mechanism code that may for instance trick the system into e-mailing the new password to an e-mail account other than that of the user.
There might be no throttling done on the rate of password resets so that a legitimate user can be denied service by an attacker if an attacker tries to recover their password in a rapid succession.
The system may send the original password to the user rather than generating a new temporary password.
Real-world CVEs
318 recorded CVEs are caused by CWE-640 (Weak Password Recovery Mechanism for Forgotten Password), including 1 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 112 new CWE-640 CVEs have been recorded so far in 2026 (36 in 2025).