Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-6p2q-8qfq-wq7x — lunary (CVE-2024-6087)

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-284 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Withdrawn Advisory: Lunary improper access control vulnerability

Withdrawn Advisory

This advisory has been withdrawn because the [lunary npm package](https://www.npmjs.com/package/lunary) is connected to https://github.com/lunary-ai/lunary-js, not the https://github.com/lunary-ai/lunary repo that is discussed in this advisory.

The underlying vulnerability report is still valid, but it doesn't affect a product in a [GitHub Advisory Database supported ecosystem](https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database#github-reviewed-advisories).

This link is maintained to preserve external references.

Original Description

An improper access control vulnerability exists in lunary-ai/lunary prior to commit 844e8855c7a713dc7371766dba4125de4007b1cf 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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality high, integrity none, availability none.

Weakness class

GHSA-6p2q-8qfq-wq7x is classified as CWE-284: Improper Access Control. The software does not restrict an action to the actors that should be allowed to perform it.

Affected software

GHSA-6p2q-8qfq-wq7x is recorded against 1 package.

  • lunary

Timeline and source

Published on 13 September 2024 and last revised on 20 June 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
huntr.com (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector 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
CWE CWE-284
Public Exploit ✅ No
Source OSV
Published 2024-09-13
Updated 2026-08-20
Modified 2025-06-20
Fix URL N/A

Affected Packages

Software From version Fixed in
lunary

Similar Threats

Site Security Check

Is lunary part of your stack?

GHSA-6p2q-8qfq-wq7x is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.