CRITICAL🇵🇱 Wersja polska

CVE-2024-9095

CVSS 9.8v3.1pub. 2025-03-20upd. 2025-10-15

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.

🤖 AI Analysis
How it works

The /bigquery route is protected only by configuration checking (`config.DATA_WAREHOUSE_EXPORTS_ALLOWED`), but it does not verify user permission levels nor apply any access control middleware. As a result, any authenticated user — regardless of their role — can invoke the endpoint and initiate a Datastream export of the full database contents to Google BigQuery. The absence of an authorization mechanism (CWE-862) means that merely having an active session is sufficient to perform this operation.

Impact

An attacker can export the entire application database, gaining access to sensitive data such as password hashes and secret API keys, leading to credential compromise, service integrity violation, and potential disruption of its operation.

Mitigation & patch

Apply the patch available in the vendor's repository (commit a8d7b2959e87c30fbafdb12af7ffa093385dcc60) or update the application to a version containing the fix according to vendor references.

Who is affected

Lunary version v1.4.28

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Lunary

    APP
    Lunary
    1.4.28
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2025-5352CRITICAL9.6PL ✓ten sam produkt

Stored XSS w Lunary — wstrzyknięcie skryptu przez zmienną środowiskową

CVE-2024-7456CRITICAL9.8PL ✓ten sam produkt

SQL Injection w trasie /api/v1/external-users aplikacji Lunary

CVE-2024-7475CRITICAL9.1PL ✓ten sam produkt

Lunary: brak kontroli dostępu do konfiguracji SAML (nieautoryzowana zmiana)

CVE-2024-4146CRITICAL9.8PL ✓ten sam produkt

Błąd autoryzacji w Lunary umożliwiający pełny dostęp do projektów

CVE-2024-5328CRITICAL9.3PL ✓ten sam produkt

SSRF w Lunary – nieautoryzowane żądania przez endpoint SAML IdP