Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai
CVE-2024-7957Arbitrary File Overwrite in danswer-ai/danswer
Critical 9.1
In plain English
A critical-severity security flaw in danswer-ai/danswer from danswer-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 61% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| danswer-ai | danswer-ai/danswer | unspecified – through latest |
Weakness: CWE-29 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H