CVE-2024-5248CWE-862

Improper Access Control in lunary-ai/lunary

Medium · published June 6, 2024

CVSS v3.0
6.5
EPSS
0%
Percentile
39.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00469 · 39.6th percentile
Weakness
CWE-862 · Missing Authorization
Published
2024-06-06T18:49Z
EPSS history
Timeline
  • 06 JUN 18:49Z
    Improper Access Control in lunary-ai/lunary
    cvelistv5