CVE-2024-9617 IDOR in danswer-ai/danswer

Medium 6.5 Published Updated

Attackers can view any user's files by directly accessing the file API without proper ownership verification.

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-9617?

CVE-2024-9617 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

An IDOR vulnerability in danswer-ai/danswer v0.3.94 allows an attacker to view any files. The application does not verify whether the attacker is the creator of the file, allowing the attacker to directly call the GET /api/chat/file/{file_id} interface to view any user's file.

Weakness: CWE-639

Which versions are affected by CVE-2024-9617?

How do I fix CVE-2024-9617?

No fix has been published for CVE-2024-9617 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-9617 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-2w2q-qp7m-7wrh.

Is CVE-2024-9617 in your software?

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

Check your SBOMs for free