# CVE-2024-5133: Account Takeover via Exposed Recovery Token in lunary-ai/lunary

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:21:53.548Z
- Modified: 2026-06-17T08:15:15.960Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified up to latest
- lunary-ai lunary: up to 1.2.4
- lunary lunary: before 1.2.14

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://huntr.com/bounties/6057598d-93c4-4a94-bb80-5bd508013c5b> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-5133](https://www.cve.org/CVERecord?id=CVE-2024-5133), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-5133](https://nvd.nist.gov/vuln/detail/CVE-2024-5133), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5133 · Whole record: https://cve.day/CVE-2024-5133.json · Rebuilt by cve.day 2026-11-25T22:58:41.521Z
