CVE-2024-7819 CORS Misconfiguration in danswer-ai/danswer

High 7.4 Published Updated

Attackers can steal sensitive data like API keys and chat contents via a CORS misconfiguration in the Danswer AI application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-7819?

CVE-2024-7819 is a high-severity vulnerability in danswer-ai/danswer, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A CORS misconfiguration in danswer-ai/danswer v1.4.1 allows attackers to steal sensitive information such as chat contents, API keys, and other data. This vulnerability occurs due to improper validation of the origin header, enabling malicious web pages to make unauthorized requests to the application's API.

Weakness: CWE-346

Which versions are affected by CVE-2024-7819?

How do I fix CVE-2024-7819?

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

Is CVE-2024-7819 being exploited?

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

Sources

Also known as GHSA-2c36-wq4v-5v3h.

Is CVE-2024-7819 in your software?

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

Check your SBOMs for free