CVE-2024-9612 Unauthorized Access in danswer-ai/danswer

Medium 6.5 Published Updated

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.

Sources

Also known as GHSA-jjhp-4v9p-5fv8.

Is CVE-2024-9612 in your software?

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

Check your SBOMs for free