Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-6087 EUVD-2024-2736GHSA-6p2q-8qfq-wq7x

Improper Access Control in lunary-ai/lunary

Published Sep 13, 2024 · Updated Oct 15, 2025 · Assigned by @huntr_ai

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.

Affected products

VendorProductAffectedFixed
lunary-ai lunary-ai/lunary unspecified – < 1.4.9 1.4.9

References