CVE-2024-4146
published critical CVSS 3.1 · 9.8Incorrect Authorization in lunary-ai/lunary
Package status and fixes
Description
In lunary-ai/lunary version v1.2.13, an incorrect authorization vulnerability exists that allows unauthorized users to access and manipulate projects within an organization they should not have access to. Specifically, the vulnerability is located in the `checkProjectAccess` method within the authorization middleware, which fails to adequately verify if a user has the correct permissions to access a specific project. Instead, it only checks if the user is part of the organization owning the project, overlooking the necessary check against the `account_project` table for explicit project access rights. This flaw enables attackers to gain complete control over all resources within a project, including the ability to create, update, read, and delete any resource, compromising the privacy and security of sensitive information.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lunary-ai | lunary-ai/lunary | unspecified to < 1.2.26 (affected · custom)Default: unaffected | @huntr_ai · cna |
| lunary | lunary | 1.2.13 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-863 CWE-863 Incorrect Authorization
References
2Provider assertions
3@huntr_ai · cna
Incorrect Authorization in lunary-ai/lunary
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 292f5a7be57dcc903d4ec066596e08d0d6e3344d85c068c24f27152387dce0b7
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record