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

- Severity: Medium 5.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-27T18:46:15.133Z
- Modified: 2026-06-17T08:17:15.650Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

In version 1.2.7 of lunary-ai/lunary, any authenticated user, regardless of their role, can change the name of an organization due to improper access control. The function checkAccess() is not implemented, allowing users with the lowest privileges, such as the 'Prompt Editor' role, to modify organization attributes without proper authorization.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.4.10
- lunary-ai lunary: 1.2.7
- lunary lunary: 1.2.7

## Every score

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

## References

- <https://huntr.com/bounties/9e83f63f-c5c1-422f-8010-95c353f0c643> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/3451fcd7b9d95e9091d62c515752f39f2faa6e54>

## Sources

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

---

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