Live threats

All CVEs / Lunary

CVE-2024-7456Lunary

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Nov 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A SQL injection vulnerability exists in the `/api/v1/external-users` route of lunary-ai/lunary version v1.4.2. The `order by` clause of the SQL query uses `sql.unsafe` without prior sanitization, allowing for SQL injection. The `orderByClause` 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lunary.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
lunarylunary1.4.2

Official sources

References

Links published by the sources. Open them with care.