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 (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/bd9f2301-11c7-4cbd-8d77-3e9225bd67e8
Scores
CVSS v3
6.5
EPSS
0.0014
EPSS Percentile
34.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-639
Status
published
Products (2)
lunary/lunary
< 1.4.9
npm/lunary
0 - 1.4.9npm
Published
Sep 13, 2024
Tracked Since
Feb 18, 2026