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

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

## Description

An improper access control vulnerability exists in the lunary-ai/lunary repository, specifically within the versions.patch functionality for updating prompts. Affected versions include 1.2.2 up to but not including 1.2.25. The vulnerability allows unauthorized users to update prompt details due to insufficient access control checks. This issue was addressed and 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.25
- lunary lunary: from 1.2.2 before 1.2.25

## Every score

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

## References

- <https://huntr.com/bounties/8e7e1267-ea6c-4789-b9dc-3410dfac6ec6> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/b7bd3a830a0f47ba07d0fd57bf78c4dd8a216297> (patch)

## Sources

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

---

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