Skip to content

CVE-2024-5248 Improper Access Control in lunary-ai/lunary

MediumCVSS 6.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

In lunary-ai/lunary version 1.2.5, an improper access control vulnerability exists due to a missing permission check in the GET /v1/users/me/org endpoint. The platform's role definitions restrict the Prompt Editor role to prompt management and project viewing/listing capabilities, explicitly excluding access to user information. However, the endpoint fails to enforce this restriction, allowing users with the Prompt Editor role to access the full list of users in the organization. This vulnerability allows unauthorized access to sensitive user information, violating the intended access controls.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
lunary >= 1.2.5, < 1.4.9 1.4.9 Fixed
lunary-ai/lunary < 1.4.9 1.4.9 Fixed

Affected products

ProductAffected versionsFixed in
lunary-ai/lunary < 1.4.9 1.4.9
lunary >= 1.2.5, < 1.4.9 1.4.9

References