CVE-2024-5248 in Lunary
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Lunary | Lunary | ≥ 1.2.5, < 1.4.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-5248 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-048967-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2024-06-06 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in lunary-ai/lunary version 1.2.5 allows users with the 'Prompt Editor' role to access user information via the 'GET /v1/users/me/org' endpoint due to a missing permission check.
The vulnerability is exploited by sending a request to the 'GET /v1/users/me/org' endpoint with a valid session token of a user having the 'Prompt Editor' role. The endpoint does not properly check the user's permissions, leading to unauthorized access to user information.
Questions
What is CVE-2024-5248?
A vulnerability in lunary-ai/lunary version 1.2.5 allows users with the 'Prompt Editor' role to access user information via the 'GET /v1/users/me/org' endpoint due to a missing permission check.
What is the CVSS score for CVE-2024-5248?
CVE-2024-5248 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.7%.
Is CVE-2024-5248 actively exploited?
No confirmed active exploitation of CVE-2024-5248 as of 2026-05-30.
How do I remediate CVE-2024-5248?
Priority: HIGH.
What systems are affected by CVE-2024-5248?
CVE-2024-5248 affects Lunary Lunary.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Lunary","product":"Lunary","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.