CVE-2024-6087
MEDIUM 6.5CVSS 3.1Withdrawn Advisory: Lunary improper access control vulnerability
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.
- Published
- 13 Sep 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-284CWE-639
- Also known as
- GHSA-6p2q-8qfq-wq7x
- Sources
- NVDJSONOSV GHSA-6p2q-8qfq-wq7xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lunary | lunarycpe:2.3:a:lunary:lunary:*:*:*:*:*:*:*:* |
< 1.4.9 | 1.4.9 |
| OSV | npm | lunary | < 1.4.9 | 1.4.9 |
References
- https://github.com/lunary-ai/lunary/commit/844e8855c7a713dc7371766dba4125de4007b1cf · Patch, WEB
- https://huntr.com/bounties/bd9f2301-11c7-4cbd-8d77-3e9225bd67e8 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6087 · ADVISORY
- https://github.com/lunary-ai/lunary · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 13 Sep 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Sep 2024)