CVE-2024-4151 in Lunary
An Improper Access Control vulnerability exists in lunary-ai/lunary version 1.2.2, where users can view and update any prompts in any projects due to insufficient access control checks in the handling of PATCH and GET requests for template versions. This vulnerability allows unauthorized users to manipulate or acces...
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, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Lunary | Lunary | < 1.2.25 |
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
An Improper Access Control vulnerability exists in lunary-ai/lunary version 1.2.2, where users can view and update any prompts in any projects due to insufficient access control checks in the handling of PATCH and GET requests for template versions. This vulnerability allows unauthorized users to manipulate or access sensitive project data, potentially leading to data integrity and confidentiality issues.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-4151 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-217589-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Published | 2024-05-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-639: Authorization Bypass Through User-Controlled Key (IDOR)
Software uses a user-supplied key to access resources without verifying authorization for that specific resource.
Analysis AI-written, not human-reviewed
An Improper Access Control vulnerability in lunary-ai/lunary version 1.2.2 allows unauthorized users to view and update any prompts in any projects, leading to potential data integrity and confidentiality issues.
The vulnerability arises from insufficient access control checks in the handling of PATCH and GET requests for template versions, enabling unauthorized users to manipulate or access sensitive project data.
Questions
What is CVE-2024-4151?
An Improper Access Control vulnerability in lunary-ai/lunary version 1.2.2 allows unauthorized users to view and update any prompts in any projects, leading to potential data integrity and confidentiality issues.
What is the CVSS score for CVE-2024-4151?
CVE-2024-4151 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.7%.
Is CVE-2024-4151 actively exploited?
No confirmed active exploitation of CVE-2024-4151 as of 2026-09-25.
How do I remediate CVE-2024-4151?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-4151?
CVE-2024-4151 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 2026-06-17.