CVE-2024-5131
CVE-2024-5131 is a medium-severity vulnerability in Lunary with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-639.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 0% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-46388
- Weakness: CWE-639
- Affected product: Lunary
- Published:
- Last modified:
Description
An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to and including 1.2.2. The vulnerability allows unauthorized users to view any prompts in any projects by supplying a specific prompt ID to an endpoint that does not adequately verify the ownership of the prompt ID. This issue was fixed in version 1.2.25.
Frequently asked questions
- What is CVE-2024-5131?
- An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to and including 1.2.2. The vulnerability allows unauthorized users to view any prompts in any projects by supplying a specific prompt ID to an endpoint that does not adequately verify the ownership of the prompt ID. This issue was fixed in version 1.2.25.
- How severe is CVE-2024-5131?
- CVE-2024-5131 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2024-5131 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-5131?
- CVE-2024-5131 affects Lunary. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-5131?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-5131 have an EU (EUVD) identifier?
- Yes. CVE-2024-5131 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-46388.
- When was CVE-2024-5131 published?
- CVE-2024-5131 was published on 2024-06-06 and last updated on 2026-06-17.
References
- https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bf
- https://huntr.com/bounties/52c129f2-114e-492f-aee8-32c78f75ac4f
Affected products (1)
- cpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:*
More vulnerabilities in Lunary
- CVE-2024-9095 — Critical (CVSS 9.8): In lunary-ai/lunary version v1.4.28, the /bigquery API route lacks proper access control, allowing any logged-in user…
- CVE-2024-7456 — Critical (CVSS 9.8): A SQL injection vulnerability exists in the `/api/v1/external-users` route of lunary-ai/lunary version v1.4.2. The…
- CVE-2024-4146 — Critical (CVSS 9.8): In lunary-ai/lunary version v1.2.13, an incorrect authorization vulnerability exists that allows unauthorized users to…
- CVE-2025-5352 — Critical (CVSS 9.6): A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component of lunary-ai/lunary…
- CVE-2024-5328 — Critical (CVSS 9.3): A Server-Side Request Forgery (SSRF) vulnerability exists in the lunary-ai/lunary application, specifically within the…
- CVE-2024-7475 — Critical (CVSS 9.1): An improper access control vulnerability in lunary-ai/lunary version 1.3.2 allows an attacker to update the SAML…
Other CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities
- CVE-2025-40805 — Critical (CVSS 10.0): Affected devices do not properly enforce user authentication on specific API endpoints. This could facilitate an…
- CVE-2024-45032 — Critical (CVSS 10.0): A vulnerability has been identified in Industrial Edge Management Pro (All versions < V1.9.5), Industrial Edge…
- CVE-2026-34037 — Critical (CVSS 9.9): Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to…
- CVE-2026-52782 — Critical (CVSS 9.9): OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, there is an IDOR through…
- CVE-2026-45552 — Critical (CVSS 9.9): Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior,…
- CVE-2026-29200 — Critical (CVSS 9.9): A critical IDOR vulnerability has been discovered in Comet Backup affecting all versions from 20.11.0 to 26.1.1 and…
Browse all CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities →