# CVE-2024-5248: Improper Access Control in lunary-ai/lunary

- Severity: Medium 6.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:49:25.715Z
- Modified: 2026-06-17T08:15:32.160Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

In lunary-ai/lunary version 1.2.5, an improper access control vulnerability exists due to a missing permission check in the `GET /v1/users/me/org` endpoint. The platform's role definitions restrict the `Prompt Editor` role to prompt management and project viewing/listing capabilities, explicitly excluding access to user information. However, the endpoint fails to enforce this restriction, allowing users with the `Prompt Editor` role to access the full list of users in the organization. This vulnerability allows unauthorized access to sensitive user information, violating the intended access controls.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.4.9
- lunary lunary: from 1.2.5 before 1.4.9

## Every score

- @huntr_ai: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/4ec75087-5630-4813-952b-88ccabe6d117> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/7f24ec1c3588992a07fd70573c43a0897eb523a2>

## Sources

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

---

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