Loading HuntDB...

GHSA-v6x6-4v4x-2fx9

GitHub Security Advisory

Withdrawn Advisory: Lunary Cross-Site Request Forgery (CSRF) vulnerability

✓ GitHub Reviewed MODERATE Withdrawn Has CVE

Advisory Details

## 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
A Cross-Site Request Forgery (CSRF) vulnerability exists in lunary-ai/lunary version 1.2.34 due to overly permissive CORS settings. This vulnerability allows an attacker to sign up for and create projects or use the instance as if they were a user with local access. The main attack vector is for instances hosted locally on personal machines, which are not publicly accessible. The CORS settings in the backend permit all origins, exposing unauthenticated endpoints to CSRF attacks.

Affected Packages

npm lunary
Affected versions: 0 (fixed in 1.4.10)
npm @lunary/backend
Affected versions: 0 (fixed in 1.4.10)

Related CVEs

Key Information

GHSA ID
GHSA-v6x6-4v4x-2fx9
Published
September 13, 2024 6:31 PM
Last Modified
June 20, 2025 8:02 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
lunary
GitHub Reviewed
✓ Yes
Withdrawn
June 20, 2025 8:02 PM

Dataset

Last updated: September 12, 2025 6:34 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.