CVE-2024-9095 Improper Authorization in lunary-ai/lunary

Critical 9.8 Published Updated

Logged-in users can export the entire database, including sensitive credentials, due to missing access control on the BigQuery export route.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9095?

CVE-2024-9095 is a critical missing authorization vulnerability in Lunary Lunary, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-862

Which versions are affected by CVE-2024-9095?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-9095?

No fix has been published for CVE-2024-9095 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-9095 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9095 exists.

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-j4mc-gwfc-jcf5.

Is CVE-2024-9095 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free