# CVE-2024-5389: Insufficient Access Control in lunary-ai/lunary

- Severity: Medium 5.7 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/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.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-09T22:22:38.179Z
- Modified: 2026-09-10T03:49:18.726Z
- Also known as: GHSA-3mwc-2cj7-gx8c
- Weaknesses: CWE-1220
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

In lunary-ai/lunary version 1.2.13, an insufficient granularity of access control vulnerability allows users to create, update, get, and delete prompt variations for datasets not owned by their organization. This issue arises due to the application not properly validating the ownership of dataset prompts and their variations against the organization or project of the requesting user. As a result, unauthorized modifications to dataset prompts can occur, leading to altered or removed dataset prompts without proper authorization. This vulnerability impacts the integrity and consistency of dataset information, potentially affecting the results of experiments.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified up to latest
- lunary-ai lunary: 1.2.13
- lunary (npm): before 1.4.9
- lunary lunary: 1.2.13

## Every score

- @huntr_ai: CVSS:3.0 5.7 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 9.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA: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/3ca5309f-5615-4d5b-8043-968af220d7a2> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-5389> (advisory)
- <https://github.com/lunary-ai/lunary/commit/35dd4af0001a54ccb14276a1546eb977f82c0c5e> (web)
- <https://github.com/lunary-ai/lunary> (package)

## Sources

- CVE List: [CVE-2024-5389](https://www.cve.org/CVERecord?id=CVE-2024-5389), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-3mwc-2cj7-gx8c](https://github.com/advisories/GHSA-3mwc-2cj7-gx8c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-5389](https://nvd.nist.gov/vuln/detail/CVE-2024-5389), Public domain, modified 2026-06-17

---

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