CVE-2024-8765 Improper Path Equivalence Resolution in lunary-ai/lunary

High 7.3 Published Updated

Attackers can bypass authentication by including '/auth/' in the path to access sensitive endpoints, allowing unauthorized data access and modification.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8765?

CVE-2024-8765 is a high-severity authentication bypass vulnerability in Lunary Lunary, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In lunary-ai/lunary, the privilege check mechanism is flawed in version git afc5df4. The system incorrectly identifies certain endpoints as public if the path contains '/auth/' anywhere within it. This allows unauthenticated attackers to access sensitive endpoints by including '/auth/' in the path. As a result, attackers can obtain and modify sensitive data and utilize other organizations' resources without proper authentication.

Weakness: CWE-41

Which versions are affected by CVE-2024-8765?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-8765?

No fix has been published for CVE-2024-8765 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-8765 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8765 exists.

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-p2f3-rm9r-rxgj.

Is CVE-2024-8765 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free