CVE-2024-5131: An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to a
CVE-2024-5131 is a medium-severity flaw (CVSS 6.5) affecting lunary. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-639 |
| Published | 2024-06-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-5131?
lunary: upgrade to 1.2.25. Exact commands for each OS are on this page.
Is CVE-2024-5131 being exploited?
CVE-2024-5131 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-5131 affect?
CVE-2024-5131 affects lunary. Severity is medium (CVSS 6.5). 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
How urgent is CVE-2024-5131?
Priority 38/100. Public exploit reference
Related CVEs
- CVE-2025-9803 HIGH 8.8 DOWNGRADE lunary-ai/lunary version 1.9.34 is vulnerable to an account takeover due to improper authentication in the Goo
- CVE-2025-5352 CRITICAL 9.6 UPGRADE A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component of lunary-ai/luna
- CVE-2025-4779 MEDIUM 6.1 UPGRADE lunary-ai/lunary versions prior to 1.9.24 are vulnerable to stored cross-site scripting (XSS)
- CVE-2025-0281 MEDIUM 5.4 UPGRADE A stored cross-site scripting (XSS) vulnerability exists in lunary-ai/lunary versions 1.6.7 and earlier
- CVE-2024-9099 HIGH 8.1 DOWNGRADE In lunary-ai/lunary version v1.4.29, the GET /projects API endpoint exposes both public and private API keys f