CVE-2024-4147: CWE-1220 Insufficient Granularity of Access Control in lunary-ai lunary-ai/lunary
In lunary-ai/lunary version 1.2.13, an insufficient granularity of access control vulnerability allows users to delete prompts created in other organizations through ID manipulation. The vulnerability stems from the application's failure to validate the ownership of the prompt before deletion, only checking if the user has permissions to delete such resources without verifying if it belongs to the user's project or organization. As a result, users can remove prompts not owned by their organization or project, leading to legitimate users being unable to access the removed prompts and causing information inconsistencies.
AI Analysis
Technical Summary
CVE-2024-4147 is an access control vulnerability classified under CWE-1220 affecting lunary-ai/lunary version 1.2.13. The root cause is insufficient granularity in access control checks during prompt deletion operations. Specifically, the application verifies only whether a user has generic permission to delete prompts but neglects to confirm if the prompt belongs to the user's own project or organization. This logical flaw allows an attacker with legitimate deletion permissions within their own scope to manipulate prompt identifiers and delete prompts owned by other organizations. The vulnerability does not require authentication or user interaction, making it remotely exploitable over the network. The impact is primarily on availability, as unauthorized deletions cause legitimate users to lose access to their prompts, potentially disrupting workflows and causing data inconsistencies. While confidentiality and integrity are not directly compromised, the loss of data availability can have significant operational consequences. The CVSS 3.0 score is 7.5 (high), reflecting the ease of exploitation and the high impact on availability. No patches or known exploits are currently documented, indicating a window of exposure for affected users. Organizations relying on lunary-ai/lunary for AI prompt management should assess their exposure and implement controls to prevent unauthorized deletions.
Potential Impact
For European organizations, the primary impact of this vulnerability is operational disruption due to unauthorized deletion of AI prompts shared within or across organizational boundaries. This can lead to loss of critical AI training or inference data, interrupting AI workflows and potentially causing delays or errors in AI-driven decision-making processes. Organizations in sectors relying heavily on AI collaboration platforms—such as finance, healthcare, and manufacturing—may experience degraded service availability and reduced productivity. Although confidentiality and integrity are not directly affected, the inability to access legitimate prompts can undermine trust in the platform and complicate compliance with data governance policies. Additionally, the cross-organizational nature of the flaw raises concerns about multi-tenant environments and data segregation, which are critical for compliance with European data protection regulations like GDPR. The lack of authentication requirements for exploitation increases the risk surface, especially in environments where internal users or external attackers can access the platform network. Overall, the vulnerability poses a significant risk to the continuity and reliability of AI services within European enterprises.
Mitigation Recommendations
To mitigate CVE-2024-4147, European organizations using lunary-ai/lunary should: 1) Immediately audit current access control policies and verify prompt ownership validation mechanisms within the application. 2) Restrict deletion permissions to the minimum necessary users and roles, applying the principle of least privilege. 3) Implement network segmentation and access controls to limit exposure of the lunary-ai/lunary service to trusted users only. 4) Monitor and log prompt deletion activities to detect anomalous or unauthorized deletions promptly. 5) Engage with the vendor or community to obtain patches or updates that address the ownership validation flaw as soon as they become available. 6) Consider implementing compensating controls such as application-layer proxies or API gateways that enforce ownership checks externally until a patch is applied. 7) Educate users about the risks of ID manipulation and enforce secure coding practices if custom integrations exist. These targeted steps go beyond generic advice by focusing on ownership validation, permission minimization, and proactive monitoring tailored to this specific vulnerability.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Belgium, Italy
CVE-2024-4147: CWE-1220 Insufficient Granularity of Access Control in lunary-ai lunary-ai/lunary
Description
In lunary-ai/lunary version 1.2.13, an insufficient granularity of access control vulnerability allows users to delete prompts created in other organizations through ID manipulation. The vulnerability stems from the application's failure to validate the ownership of the prompt before deletion, only checking if the user has permissions to delete such resources without verifying if it belongs to the user's project or organization. As a result, users can remove prompts not owned by their organization or project, leading to legitimate users being unable to access the removed prompts and causing information inconsistencies.
AI-Powered Analysis
Technical Analysis
CVE-2024-4147 is an access control vulnerability classified under CWE-1220 affecting lunary-ai/lunary version 1.2.13. The root cause is insufficient granularity in access control checks during prompt deletion operations. Specifically, the application verifies only whether a user has generic permission to delete prompts but neglects to confirm if the prompt belongs to the user's own project or organization. This logical flaw allows an attacker with legitimate deletion permissions within their own scope to manipulate prompt identifiers and delete prompts owned by other organizations. The vulnerability does not require authentication or user interaction, making it remotely exploitable over the network. The impact is primarily on availability, as unauthorized deletions cause legitimate users to lose access to their prompts, potentially disrupting workflows and causing data inconsistencies. While confidentiality and integrity are not directly compromised, the loss of data availability can have significant operational consequences. The CVSS 3.0 score is 7.5 (high), reflecting the ease of exploitation and the high impact on availability. No patches or known exploits are currently documented, indicating a window of exposure for affected users. Organizations relying on lunary-ai/lunary for AI prompt management should assess their exposure and implement controls to prevent unauthorized deletions.
Potential Impact
For European organizations, the primary impact of this vulnerability is operational disruption due to unauthorized deletion of AI prompts shared within or across organizational boundaries. This can lead to loss of critical AI training or inference data, interrupting AI workflows and potentially causing delays or errors in AI-driven decision-making processes. Organizations in sectors relying heavily on AI collaboration platforms—such as finance, healthcare, and manufacturing—may experience degraded service availability and reduced productivity. Although confidentiality and integrity are not directly affected, the inability to access legitimate prompts can undermine trust in the platform and complicate compliance with data governance policies. Additionally, the cross-organizational nature of the flaw raises concerns about multi-tenant environments and data segregation, which are critical for compliance with European data protection regulations like GDPR. The lack of authentication requirements for exploitation increases the risk surface, especially in environments where internal users or external attackers can access the platform network. Overall, the vulnerability poses a significant risk to the continuity and reliability of AI services within European enterprises.
Mitigation Recommendations
To mitigate CVE-2024-4147, European organizations using lunary-ai/lunary should: 1) Immediately audit current access control policies and verify prompt ownership validation mechanisms within the application. 2) Restrict deletion permissions to the minimum necessary users and roles, applying the principle of least privilege. 3) Implement network segmentation and access controls to limit exposure of the lunary-ai/lunary service to trusted users only. 4) Monitor and log prompt deletion activities to detect anomalous or unauthorized deletions promptly. 5) Engage with the vendor or community to obtain patches or updates that address the ownership validation flaw as soon as they become available. 6) Consider implementing compensating controls such as application-layer proxies or API gateways that enforce ownership checks externally until a patch is applied. 7) Educate users about the risks of ID manipulation and enforce secure coding practices if custom integrations exist. These targeted steps go beyond generic advice by focusing on ownership validation, permission minimization, and proactive monitoring tailored to this specific vulnerability.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2024-04-24T20:56:06.791Z
- Cvss Version
- 3.0
- State
- PUBLISHED
Threat ID: 698083b8f9fa50a62f370586
Added to database: 2/2/2026, 11:00:08 AM
Last enriched: 2/2/2026, 11:15:08 AM
Last updated: 2/6/2026, 9:12:16 AM
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
Claude Opus 4.6 Finds 500+ High-Severity Flaws Across Major Open-Source Libraries
HighCVE-2026-2011: SQL Injection in itsourcecode Student Management System
MediumCVE-2026-24930: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in Huawei HarmonyOS
HighCVE-2026-24929: CWE-476 NULL Pointer Dereference in Huawei HarmonyOS
MediumCVE-2026-24923: CWE-264 Permissions, Privileges, and Access Controls in Huawei HarmonyOS
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.