# CVE-2024-5277: Weak Password Recovery Mechanism in lunary-ai/lunary

- Severity: Medium 6.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T17:46:06.653Z
- Modified: 2026-06-17T08:15:35.887Z
- Weaknesses: CWE-640
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified up to latest
- lunary-ai lunary: 1.2.4
- lunary lunary: before 1.4.9

## Every score

- @huntr_ai: CVSS:3.0 6.4 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/6aaba769-d99c-48cf-90d2-7abad984213d> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-5277](https://www.cve.org/CVERecord?id=CVE-2024-5277), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-5277](https://nvd.nist.gov/vuln/detail/CVE-2024-5277), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5277 · Whole record: https://cve.day/CVE-2024-5277.json · Rebuilt by cve.day 2026-11-25T22:58:41.493Z
