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

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:08:47.730Z
- Modified: 2026-06-17T08:23:56.777Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- lunary-ai lunary-ai/lunary: from unspecified before 1.4.30
- lunary lunary: 1.4.28

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/e242a92e-da41-440d-b718-3de91e4b4eac> (exploit, third-party-advisory)
- <https://github.com/lunary-ai/lunary/commit/a8d7b2959e87c30fbafdb12af7ffa093385dcc60> (patch)

## Sources

- CVE List: [CVE-2024-9095](https://www.cve.org/CVERecord?id=CVE-2024-9095), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2024-9095](https://nvd.nist.gov/vuln/detail/CVE-2024-9095), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9095 · Whole record: https://cve.day/CVE-2024-9095.json · Rebuilt by cve.day 2026-11-25T22:58:52.407Z
