CVE-2024-7456
published critical CVSS 3.0 · 9.8SQL Injection in lunary-ai/lunary
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lunary-ai | lunary-ai/lunary | unspecified to < 1.4.3 (affected · custom) | @huntr_ai · cna |
| lunary-ai | lunary-ai\/lunary | 0 to < 1.4.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
2Provider assertions
2@huntr_ai · cna
SQL Injection in lunary-ai/lunary
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c656fbe5068c63f95c7b991fa95150485c6560d0bbc98f1a459c62416891b4a7
- Ingested
- 23 Sep 2026, 08:33:51 UTC
- Source record
- Official CVE record