Skip to main content
VulnerabilityPublished Updated

CVE-2024-6087: lunary-ai/lunary · Insecure Direct Object Reference

Affects lunary-ai/lunarySource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Sep 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-6087, organizations should first verify if they are using affected versions of lunary-ai/lunary and monitor vendor communications for official patches or updates. In the absence of patches, restrict the ability to invite users to highly trusted administrators only, minimizing the attack surface. Implement strict monitoring and alerting on invitation and password reset activities to detect suspicious patterns such as invite retractions followed by password resets. Enforce multi-factor authentication (MFA) on all user accounts to reduce the risk of account takeover even if credentials are compromised. Review and harden token lifecycle management by invalidating invite tokens immediately upon retraction and ensuring tokens cannot be reused. Conduct regular access reviews and audit logs for unusual behavior. Additionally, educate users about phishing and social engineering risks that could compound the impact of compromised accounts.

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.

References

Community reviews

Loading reviews…