What’s Vulnerable › Vulnerabilities
CVE-2024-5133: Account Takeover via Exposed Recovery Token in lunary-ai/lunary
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-200
Description
In lunary-ai/lunary version 1.2.4, an account takeover vulnerability exists due to the exposure of password recovery tokens in API responses. Specifically, when a user initiates the password reset process, the recovery token is included in the response of the `GET /v1/users/me/org` endpoint, which lists all users in a team. This allows any authenticated user to capture the recovery token of another user and subsequently change that user's password without consent, effectively taking over the account. The issue lies in the inclusion of the `recovery_token` attribute in the users object returned by the API.
Affected products
- lunary-ai/lunary: before 1.2.14 — fixed in 1.2.14
How to fix
Upgrade to a fixed version: lunary-ai/lunary 1.2.14. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/6057598d-93c4-4a94-bb80-5bd508013c5b
- https://huntr.com/bounties/6057598d-93c4-4a94-bb80-5bd508013c5b
Get alerted when CVE-2024-5133 or the next vulnerability affects your stack