CVE-2024-6087
CVE-2024-6087 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% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2736
- Weakness: CWE-639
- Affected product: Lunary
- Published:
- Last modified:
Description
An improper access control vulnerability exists in lunary-ai/lunary at the latest commit (a761d83) on the main branch. The vulnerability allows an attacker to use the auth tokens issued by the 'invite user' functionality to obtain valid JWT tokens. These tokens can be used to compromise target users upon registration for their own arbitrary organizations. The attacker can invite a target email, obtain a one-time use token, retract the invite, and later use the token to reset the password of the target user, leading to full account takeover.
Frequently asked questions
- What is CVE-2024-6087?
- An improper access control vulnerability exists in lunary-ai/lunary at the latest commit (a761d83) on the main branch. The vulnerability allows an attacker to use the auth tokens issued by the 'invite user' functionality to obtain valid JWT tokens. These tokens can be used to compromise target users upon registration for their own arbitrary organizations. The attacker can invite a target email, obtain a one-time use token, retract the invite, and later use the token to reset the password of the target user, leading to full account takeover.
- How severe is CVE-2024-6087?
- CVE-2024-6087 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 none, integrity high, and availability none.
- Is CVE-2024-6087 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-6087?
- CVE-2024-6087 affects Lunary. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-6087?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-6087 have an EU (EUVD) identifier?
- Yes. CVE-2024-6087 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2736.
- When was CVE-2024-6087 published?
- CVE-2024-6087 was published on 2024-09-13 and last updated on 2026-06-17.
References
- https://github.com/lunary-ai/lunary/commit/844e8855c7a713dc7371766dba4125de4007b1cf
- https://huntr.com/bounties/bd9f2301-11c7-4cbd-8d77-3e9225bd67e8
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 →