A SQL injection vulnerability exists in the `/api/v1...
Critical severity
Unreviewed
Published
Nov 1, 2024
to the GitHub Advisory Database
•
Updated Nov 1, 2024
Description
Published by the National Vulnerability Database
Nov 1, 2024
Published to the GitHub Advisory Database
Nov 1, 2024
Last updated
Nov 1, 2024
A SQL injection vulnerability exists in the
/api/v1/external-users
route of lunary-ai/lunary version v1.4.2. Theorder by
clause of the SQL query usessql.unsafe
without prior sanitization, allowing for SQL injection. TheorderByClause
variable is constructed without server-side validation or sanitization, enabling an attacker to execute arbitrary SQL commands. Successful exploitation can lead to complete data loss, modification, or corruption.References