Skip to main content
VulnerabilityPublished

CVE-2024-5386: lunary-ai/lunary · Excessive Attack Surface

Affects lunary-ai/lunarySource CVE Database V5

0

Not known to be exploited · CVSS 9.6 Critical.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.0 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% 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:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  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

Affected software

ProductAffectedFixed in
lunary-ailunary-ai/lunaryAffected
  • ≥ unspecified, < 1.2.14
Fixed in–
GitHublunary-ai/lunarypkg:github/lunary-ai/lunaryOther threatsAffected
  • =1.2.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately restrict access to password reset functionality to trusted roles only, ensuring that low-privilege users like 'viewer' cannot trigger password reset token generation for other accounts.
  2. Implement strict server-side validation and authorization checks to confirm that password reset tokens are only issued to legitimate requesters for their own accounts.
  3. Monitor logs for unusual password reset requests originating from viewer role users or other low-privilege accounts.
  4. Employ multi-factor authentication (MFA) on all user accounts to reduce the impact of compromised credentials.
  5. Isolate and segment systems running lunary-ai/lunary to limit lateral movement in case of compromise.
  6. Engage with the vendor for timely patches or updates addressing this vulnerability and apply them as soon as available.
  7. Conduct internal security audits and penetration testing focusing on access control and token management mechanisms.
  8. Educate users about phishing and social engineering risks that could compound the vulnerability exploitation.
  9. Consider implementing rate limiting and anomaly detection on password reset endpoints to detect and block abuse attempts.

Description

In lunary-ai/lunary version 1.2.2, an account hijacking vulnerability exists due to a password reset token leak. A user with a 'viewer' role can exploit this vulnerability to hijack another user's account by obtaining the password reset token. The vulnerability is triggered when the 'viewer' role user sends a specific request to the server, which responds with a password reset token in the 'recoveryToken' parameter. This token can then be used to reset the password of another user's account without authorization. The issue results from an excessive attack surface, allowing lower-privileged users to escalate their privileges and take over accounts.

References

Community reviews

Loading reviews…