CVE-2024-4146

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLunary
PublishedJun 8, 2024
First seenJun 8, 2024

How to fix

Update
  • lunary1.2.26 or later

Affected products

ProductAffected versionsFixed in
lunary lunary1.2.13—
lunarynpmv < 1.2.261.2.26

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-4146 · Lunary · Dark Radar