Security Resilience

CVE-2024-9095

Access Control in Lunary 1.4.28

Public PoCAccess Control
Published
20 March 2025
Modified
15 October 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0073 55th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-9095 is a critical-severity Missing Authorization (CWE-862) vulnerability in Lunary. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Privacy and Disclosure risk domain.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-9095 is a critical vulnerability in lunary-ai/lunary version v1.4.28, where the /bigquery API route lacks proper access control. This flaw allows any logged-in user to create a Datastream to Google BigQuery and export the entire database, including sensitive data such as password hashes and secret API keys. The route is only protected by a configuration check (config.DATA_WAREHOUSE_EXPORTS_ALLOWED) without verifying the user's access level or implementing access control middleware. It carries a CVSS score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and maps to CWE-862.

Any logged-in user can exploit this vulnerability remotely with low complexity and no user interaction. Successful exploitation enables the extraction of the full database via BigQuery, leading to sensitive data exposure, credential compromise, service disruptions, and breaches in service integrity.

A patch is available via GitHub commit a8d7b2959e87c30fbafdb12af7ffa093385dcc60, and additional details are provided in the Huntr bounty report at https://huntr.com/bounties/e242a92e-da41-440d-b718-3de91e4b4eac.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Privacy and Disclosure
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: ai, lunary

Related Threats

CVEs Like This One

CVE-2024-5248Same product: Lunary Lunary
CVE-2024-5127Same product: Lunary Lunary
CVE-2024-10330Same product: Lunary Lunary
CVE-2024-9096Same product: Lunary Lunary
CVE-2024-5129Same product: Lunary Lunary
CVE-2024-10762Same product: Lunary Lunary
CVE-2024-10274Same product: Lunary Lunary
CVE-2024-8999Same product: Lunary Lunary
CVE-2024-10272Same product: Lunary Lunary
CVE-2024-9000Same product: Lunary Lunary

Affected Assets

lunary
lunary
1.4.28

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-3 directly requires enforcement of authorization decisions on every access request, structurally eliminating missing authorization checks.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

AC-6 reduces the set of actions reachable without proper authorization, limiting blast radius of missing checks.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

By requiring competent outsiders to verify that every function enforces the need-to-know principle, the control lowers the likelihood that missing authorization checks persist undetected.

blocks

A.8.3's purpose is to ensure only authorized access, and its guidance directly mandates the authorization checks that CWE-862 describes as missing, so a well-implemented access restriction control fully blocks exploitation of the missing authorization weakness.

blocks

Requiring evidence of minimum security capabilities and acceptance testing ensures that missing or bypassed authorization checks are detected before the delivered software is accepted.

finds

Mandating read-only access or proxy execution by an authorized administrator ensures every requested operation is explicitly authorized before it occurs.

blocks

Mandatory authorization checks before allowing modifications ensure that every sensitive action on source code is preceded by an explicit access-control decision.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-862, a class-level weakness, and none of its children carries one either.

References