# CVE-2024-5130: Incorrect Authorization 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:N/I:H/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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:43:30.816Z
- Modified: 2026-06-17T08:15:15.717Z
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

An Incorrect Authorization vulnerability exists in lunary-ai/lunary versions up to and including 1.2.2, which allows unauthenticated users to delete any dataset. The vulnerability is due to the lack of proper authorization checks in the dataset deletion endpoint. Specifically, the endpoint does not verify if the provided project ID belongs to the current user, thereby allowing any dataset to be deleted without proper authentication. This issue was fixed in version 1.2.8.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.2.8
- lunary-ai lunary: before 1.2.8
- lunary lunary: before 1.2.8

## Every score

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

## References

- <https://huntr.com/bounties/e81a9871-308d-4628-9726-af66643a16fe> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/14078c1d2b8766075bf655f187ece24c7a787776> (patch)

## Sources

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

---

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