Critical severity · published Mar 20, 2025
CVE-2024-7957
Arbitrary File Overwrite in danswer-ai/danswer
9.1
CVSS
1%
EPSS
No
On KEV
Description
An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the load_credentials method, where user-controlled input for realm_name and zuliprc_content is used to construct file paths and write file contents. This allows attackers to overwrite or create arbitrary files if a zuliprc- directory already exists in the temporary directory.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DA
danswer-ai/danswer · danswer-ai
through latest · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-7957
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-7957
huntr.com
https://huntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275
More from danswer-ai/danswer
8.1
CVE-2024-7767
Improper Access Control in danswer-ai/danswer
8.1
CVE-2024-8065
CSRF in danswer-ai/danswer
7.5
CVE-2025-0182
Denial of Service in danswer-ai/danswer
7.5
CVE-2024-8028
Denial of Service in danswer-ai/danswer
7.5
CVE-2024-7779
ReDoS (Regular Expression Denial of Service) in danswer-ai/danswer
