What’s Vulnerable › Vulnerabilities
CVE-2024-5277: Weak Password Recovery Mechanism in lunary-ai/lunary
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-640
Description
In lunary-ai/lunary version 1.2.4, a vulnerability exists in the password recovery mechanism where the reset password token is not invalidated after use. This allows an attacker who compromises the recovery token to repeatedly change the password of a victim's account. The issue lies in the backend's handling of the reset password process, where the token, once used, is not discarded or invalidated, enabling its reuse. This vulnerability could lead to unauthorized account access if an attacker obtains the recovery token.
Affected products
- lunary-ai/lunary: before 1.4.9 — fixed in 1.4.9
How to fix
Upgrade to a fixed version: lunary-ai/lunary 1.4.9. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/6aaba769-d99c-48cf-90d2-7abad984213d
- https://huntr.com/bounties/6aaba769-d99c-48cf-90d2-7abad984213d
Get alerted when CVE-2024-5277 or the next vulnerability affects your stack