CVE-2024-4146
CRITICAL 9.8CVSS 3.1lunary-ai/lunary allows users unauthorized access to projects
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.
- Published
- 8 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-285CWE-863
- Also known as
- GHSA-w5xm-mx47-v7c8
- Sources
- NVDJSONOSV GHSA-w5xm-mx47-v7c8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security@huntr.dev (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lunary | lunarycpe:2.3:a:lunary:lunary:1.2.13:*:*:*:*:*:*:* |
= 1.2.13 | |
| OSV | npm | lunary | < 1.2.26 | 1.2.26 |
References
- https://github.com/lunary-ai/lunary/commit/c43b6c62035f32ca455f66d5fd22ba661648cde7 · Patch, WEB
- https://huntr.com/bounties/a749e696-b398-4260-b2d0-b0054b9fffa7 · Exploit, Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4146 · ADVISORY
- https://github.com/lunary-ai/lunary · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 8 Jun 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jun 2024)