Auth bypass in Lunary

CVE-2024-1626

An Insecure Direct Object Reference (IDOR) vulnerability exists in the lunary-ai/lunary repository, version 0.3.0, within the project update endpoint. The vulnerability allows authenticated users to modify the name of any project within the system without proper authorization checks, by directly referencing the project's ID in the PATCH request to the '/v1/projects/:projectId' endpoint. This issue arises because the endpoint does not verify if the provided project ID belongs to the currently authenticated user, enabling unauthorized modifications across different organizational projects.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.005 (38.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-1626?
CVE-2024-1626 is a high-severity vulnerability in Lunary, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 8.1/10. Published 2024-04-16.
How severe is CVE-2024-1626?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2024-1626 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.