CVE-2024-5386

Account Hijacking via Password Reset Token Leak in lunary-ai/lunary

State
Published
Severity
9.6 Critical
Published
Feb 2, 2026
Updated
Feb 2, 2026
Reserved
May 25, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.09.6 CriticalCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N@huntr_ai

Weaknesses

Affected Products

ProductVersions
lunary-ai/lunarylunary-ai
  • before 1.2.14Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.