CVE-2025-4962
August 18, 2025
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.
Affected Packages
https://github.com/lunary-ai/lunary.git (GITHUB):
Affected version(s) >=v0.1.0 <v1.9.22Fix Suggestion:
Update to version v1.9.22Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Access Control
EPSS
Base Score:
0.03