Skip to content

CVE-2024-6862 Cross-Site Request Forgery (CSRF) in lunary-ai/lunary

HighCVSS 8.1 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
lunary @lunary/backend(npm) < 1.4.10 1.4.10 Fixed
lunary-ai/lunary < 1.4.10 1.4.10 Fixed
npm lunary(npm) < 1.4.10 1.4.10 Fixed
lunary = 1.2.34 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm lunary(npm) < 1.4.10 1.4.10
lunary @lunary/backend(npm) < 1.4.10 1.4.10
lunary-ai/lunary < 1.4.10 1.4.10
lunary = 1.2.34 No fix listed

References