Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-1625 Overview
CVE-2024-1625 is an Insecure Direct Object Reference (IDOR) vulnerability in the lunary-ai/lunary application version 0.3.0. The flaw resides in the projects.delete route, which fails to verify whether the project ID in a DELETE request belongs to the requesting user's organization. An authenticated attacker can send a crafted request referencing any project ID and remove projects owned by other organizations. The issue is categorized under CWE-639: Authorization Bypass Through User-Controlled Key and affects the integrity and availability of tenant data in multi-tenant deployments.
Critical Impact
Any authenticated user can permanently delete projects belonging to any organization, enabling cross-tenant data destruction and service disruption.
Affected Products
- lunary-ai/lunary version 0.3.0
- Deployments exposing the projects.delete API route
- Multi-tenant installations of Lunary prior to the fix commit
Discovery Timeline
- 2024-04-10 - CVE-2024-1625 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-1625
Vulnerability Analysis
Lunary is an observability and analytics platform for LLM applications. It organizes resources around organizations and projects, so authorization checks must bind each object to the caller's organization context.
The projects.delete endpoint accepts a project identifier supplied by the client and executes a deletion against the database. The handler authenticates the request but does not confirm that the referenced project belongs to the caller's organization. Because the identifier is a direct reference to the backend object, any authenticated user can target projects owned by other tenants.
Successful exploitation removes the project record and any associated data, producing an integrity and availability impact without disclosing confidential information. The attack requires valid credentials but no elevated privileges and no user interaction.
Root Cause
The root cause is a missing ownership check in the deletion route. The handler trusts the project ID in the request path or body and queries the database without constraining the operation to the caller's organization. This pattern is the textbook definition of an IDOR flaw under CWE-639.
Attack Vector
Exploitation occurs over the network against the Lunary HTTP API. An attacker authenticates to any organization, enumerates or guesses a target project identifier, and issues a DELETE request to the projects.delete route with the victim's project ID. The server processes the request as if the attacker owned the resource and deletes it. No special tooling is required beyond an HTTP client capable of sending authenticated requests.
See the upstream fix in the lunary-ai/lunary commit 88f98e2 and the Huntr bounty report for technical details.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2024-1625
Indicators of Compromise
- Unexpected DELETE requests to the projects.delete route in application or reverse-proxy access logs.
- Project records that disappear without a corresponding administrative action in the audit trail.
- Authenticated API calls where the acting user's organization does not match the owning organization of the deleted project.
Detection Strategies
- Correlate project deletion events with the acting user's organization ID and alert on mismatches.
- Baseline normal project deletion frequency per user and flag deviations such as rapid sequential deletions.
- Review HTTP access logs for DELETE requests referencing project IDs that the authenticated principal has never previously read or modified.
Monitoring Recommendations
- Enable verbose request logging on the Lunary API, including request path, authenticated user, and target object ID.
- Forward application logs to a centralized analytics platform and build detections for cross-tenant object access patterns.
- Monitor database audit logs for DELETE statements against the projects table executed outside of expected administrative workflows.
How to Mitigate CVE-2024-1625
Immediate Actions Required
- Upgrade Lunary beyond version 0.3.0 to a release that includes the fix in commit 88f98e2.
- Audit project deletion activity since deployment to identify unauthorized removals and restore from backups where necessary.
- Rotate API tokens and session credentials if cross-tenant activity is suspected.
Patch Information
The maintainers addressed the vulnerability in lunary-ai/lunary commit 88f98e29f19da9d1f5de45c5b163fd5b48e0bcec, which adds an ownership check to the projects.delete route so that only projects belonging to the caller's organization can be removed. Operators running 0.3.0 should pull the patched release and redeploy.
Workarounds
- Restrict access to the Lunary API using a reverse proxy or WAF rule that blocks DELETE requests to project routes from non-administrative users.
- Enforce database-level backups and point-in-time recovery so that unauthorized deletions can be reversed quickly.
- Limit account creation and invitation flows to trusted users until the patch is applied, reducing the pool of authenticated attackers.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

