CVE-2024-5386

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLunary
PublishedFeb 2, 2026
First seenFeb 2, 2026
Weakness typeCWE-1125CWE-1125

How to fix

Update
  • lunary lunary1.2.14 or later

Affected products

ProductAffected versionsFixed in
lunary lunaryv < 1.2.141.2.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.