NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

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

mediumCVSS 4.0 6.0 · 3.0 7.4GHSA-v6x6-4v4x-2fx9

This advisory was withdrawn on Jun 20, 2025. The publisher no longer considers it a valid vulnerability.

Withdrawn Advisory This advisory has been withdrawn because the lunary npm package 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. This link is maintained to preserve external references.

Published Sep 13, 2024 · Updated Jun 20, 2025

Affected packages

lunary

Ecosystem
npm
Affected
< 1.4.10
Fixed in
1.4.10
Check
npm ls lunary

@lunary/backend

Ecosystem
npm
Affected
< 1.4.10
Fixed in
1.4.10
Check
npm ls @lunary/backend

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Withdrawn Advisory

This advisory has been withdrawn because the lunary npm package 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.

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.

Credited to hughcrt.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology