VULNERABILITY INTELLIGENCE
CVE-2024-5133
CVSS score8.1 HIGH
EPSS probability0.54%
CISA KEVNot currently listed
Published2024-06-06
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
Weakness classification
- security@huntr.dev: CWE-200
- nvd@nist.gov: NVD-CWE-noinfo
Primary references
- security@huntr.dev — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory