# CVE-2024-5129: Privilege Escalation Vulnerability in lunary-ai/lunary

- Severity: High 8.2 (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: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.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:28:21.030Z
- Modified: 2026-06-17T08:15:15.600Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

A Privilege Escalation Vulnerability exists in lunary-ai/lunary version 1.2.2, where any user can delete any datasets due to missing authorization checks. The vulnerability is present in the dataset deletion functionality, where the application fails to verify if the user requesting the deletion has the appropriate permissions. This allows unauthorized users to send a DELETE request to the server and delete any dataset by specifying its ID. The issue is located in the datasets.delete function within the datasets index file.

(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 8.2 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://huntr.com/bounties/a6c0deb3-6a4c-4188-8aaa-9e6207f82f44> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/14078c1d2b8766075bf655f187ece24c7a787776> (patch)

## Sources

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

---

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