CVE-2024-9612 Unauthorized Access in danswer-ai/danswer
Attackers can bypass admin-set visibility restrictions on the search page by directly calling backend APIs, accessing hidden functionalities.
- 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-9612?
CVE-2024-9612 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 danswer-ai/danswer v0.3.94, administrators can set the visibility of pages within a workspace, including the search page. When the search page is set to be invisible, regular users cannot view the search page or access its functionalities from the front-end interface. However, the back-end does not verify the visibility status of the search page. Consequently, attackers can directly call the API to access the functionalities provided by the search page, bypassing the visibility restriction set by the administrator.
Weakness: CWE-1100
Which versions are affected by CVE-2024-9612?
It affects 1 product.
Products include Onyx Onyx.
How do I fix CVE-2024-9612?
No fix has been published for CVE-2024-9612 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-9612 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9612 exists.
Other vulnerabilities in danswer-ai/danswer
- CVE-2026-42277 Onyx: IDOR in /chat/file/{file_id} allows any authenticated user to download other users files
- CVE-2024-7767 Improper Access Control in danswer-ai/danswer
- CVE-2025-51479 Missing authorization in n/a
- CVE-2025-7894 Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection
- CVE-2026-42276 Onyx: IDOR in /chat/stop-chat-session allows any authenticated user to interrupt other users chat sessions
Sources
Also known as GHSA-jjhp-4v9p-5fv8.