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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/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.68%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:31:16.725Z
- Modified: 2026-06-17T08:15:15.830Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to and including 1.2.2. The vulnerability allows unauthorized users to view any prompts in any projects by supplying a specific prompt ID to an endpoint that does not adequately verify the ownership of the prompt ID. This issue was fixed in version 1.2.25.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.2.25
- lunary-ai lunary: up to 1.2.2
- lunary lunary: before 1.2.25

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/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/52c129f2-114e-492f-aee8-32c78f75ac4f> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bf> (patch)

## Sources

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

---

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