Vulnerability in Lunary
CVE-2024-5386
In lunary-ai/lunary version 1.2.2, an account hijacking vulnerability exists due to a password reset token leak. A user with a 'viewer' role can exploit this vulnerability to hijack another user's account by obtaining the password reset token. The vulnerability is triggered when the 'viewer' role user sends a specific request to the server, which responds with a password reset token in the 'recoveryToken' parameter. This token can then be used to reset the password of another user's account without authorization. The issue results from an excessive attack surface, allowing lower-privileged users to escalate their privileges and take over accounts.
EPSS: 0.005 (38.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Lunary
- Lunary-ai Lunary-ai/lunary — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Patch, Third Party Advisory)
- security@huntr.dev (Broken Link)
Frequently asked questions
- What is CVE-2024-5386?
- CVE-2024-5386 is a high-severity vulnerability in Lunary, classified under CWE-1125. CVSS score: 8.8/10. Published 2026-02-02.
- How severe is CVE-2024-5386?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2024-5386 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.