# CVE-2025-4962: IDOR Vulnerability in Template Creation via `projectId` Manipulation in lunary-ai/lunary

- Severity: High 7.7 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/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.49%, higher than 35% of CVEs (2026-11-29)
- Published: 2025-08-18T13:27:49.397Z
- Modified: 2026-06-17T09:34:23.937Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## Description

An Insecure Direct Object Reference (IDOR) vulnerability was identified in the `POST /v1/templates` endpoint of the Lunary API, affecting versions up to 0.8.8. This vulnerability allows authenticated users to create templates in another user's project by altering the `projectId` query parameter. The root cause of this issue is the absence of server-side validation to ensure that the authenticated user owns the specified `projectId`. The vulnerability has been addressed in version 1.9.23.

(As written by CVE List.)

## Affected

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

## References

- <https://huntr.com/bounties/137a0aef-e243-49d4-832f-8e56056cba1a>
- <https://github.com/lunary-ai/lunary/commit/e977d06f18a615963ffbe07e5bdff70218c29907>

## Sources

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

---

Page: https://cve.day/CVE-2025-4962 · Whole record: https://cve.day/CVE-2025-4962.json · Rebuilt by cve.day 2026-11-25T22:59:02.658Z
