Auth bypass in Lunary
CVE-2024-9095
In lunary-ai/lunary version v1.4.28, the /bigquery API route lacks proper access control, allowing any logged-in user to create a Datastream to Google BigQuery and export the entire database. This includes sensitive data such as password hashes and secret API keys. The route is protected by a config check (`config.DATA_WAREHOUSE_EXPORTS_ALLOWED`), but it does not verify the user's access level or implement any access control middleware. This vulnerability can lead to the extraction of sensitive data, disruption of services, credential compromise, and service integrity breaches.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 55.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lunary — versions 1.4.28
- Lunary-Ai Lunary-Ai/lunary — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/e242a92e-da41-440d-b718-3de91e4b4eac (Exploit, Third Party Advisory)
- github.com/lunary-ai/lunary/commit/a8d7b2959e87c30fbafdb12af7ffa093385dcc60 (Patch)