CVE-2024-8057 Improper Access Control in danswer-ai/danswer
An unauthenticated attacker can create credentials and link connectors, causing resource exhaustion and denial of service due to missing authorization checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8057?
CVE-2024-8057 is a medium-severity missing authorization vulnerability in danswer-ai/danswer, published on 20 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In version 0.4.1 of danswer-ai/danswer, a vulnerability exists where a basic user can create credentials and link them to an existing connector. This issue arises because the system allows an unauthenticated attacker to sign up with a basic account and perform actions that should be restricted to admin users. This can lead to excessive resource consumption, potentially resulting in a Denial of Service (DoS) and other significant issues, impacting the system's stability and security.
Weakness: CWE-306
Which versions are affected by CVE-2024-8057?
How do I fix CVE-2024-8057?
No fix has been published for CVE-2024-8057 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-8057 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8057 exists.
Sources
Also known as GHSA-fgqc-p7g9-x92w.