SecurityContext

CVE-2024-9095: Lunary AI - Broken Access Control

  • Cve: CVE-2024-9095
  • Name: Lunary AI - Broken Access Control
  • 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.
  • Impact: Attackers can extract sensitive data, compromise credentials, and disrupt services by exploiting this access control flaw.
  • Remediation: Implement proper access control checks and middleware to verify user permissions before allowing database export actions.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure, denial_of_service, data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs to be logged in
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00734
  • Epss percentile: 0.5514
  • Assignee: [email protected]
  • Published at: 2025-03-20T10:15:46Z
  • Age in days: 614
  • Modified at: 2026-06-17T08:23:56Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-9095
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-862Missing Authorization
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/e242a92e-da41-440d-b718-3de91e4b4eacnvd2025-03-20

References

UrlSourceTags
https://github.com/lunary-ai/lunary/commit/a8d7b2959e87c30fbafdb12af7ffa093385dcc60nvdPatch
https://huntr.com/bounties/e242a92e-da41-440d-b718-3de91e4b4eacnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
lunary:lunary= 1.4.28nonvd/v1/products/lunary/lunary

Projects

RepositoryLink kindsIndexedUrl
lunary-ai/lunarycommityes/v1/repositories/lunary-ai/lunary

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-03-20
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts