# CVE-2024-6862: Cross-Site Request Forgery (CSRF) in lunary-ai/lunary

- Severity: High 7.4 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/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.37%, higher than 23% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-09-13T16:13:51.639Z
- Modified: 2026-09-10T03:50:19.042Z
- Also known as: GHSA-v6x6-4v4x-2fx9
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

A Cross-Site Request Forgery (CSRF) vulnerability exists in lunary-ai/lunary version 1.2.34 due to overly permissive CORS settings. This vulnerability allows an attacker to sign up for and create projects or use the instance as if they were a user with local access. The main attack vector is for instances hosted locally on personal machines, which are not publicly accessible. The CORS settings in the backend permit all origins, exposing unauthenticated endpoints to CSRF attacks.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.4.10
- lunary-ai lunary-ai\/lunary: before 1.4.10
- lunary (npm): before 1.4.10
- @lunary/backend (npm): before 1.4.10
- lunary lunary: 1.2.34

## Every score

- @huntr_ai: CVSS:3.0 7.4 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.0 7.4 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://huntr.com/bounties/0b1d851e-3455-480c-ad5a-23565894976f> (exploit, third-party-advisory, web)
- <https://github.com/lunary-ai/lunary/commit/3451fcd7b9d95e9091d62c515752f39f2faa6e54> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6862> (advisory)
- <https://github.com/lunary-ai/lunary> (package)

## Sources

- CVE List: [CVE-2024-6862](https://www.cve.org/CVERecord?id=CVE-2024-6862), CVE Terms of Use, modified 2024-09-13
- GitHub Advisory Database: [GHSA-v6x6-4v4x-2fx9](https://github.com/advisories/GHSA-v6x6-4v4x-2fx9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-6862](https://nvd.nist.gov/vuln/detail/CVE-2024-6862), Public domain, modified 2026-06-17

---

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