# CVE-2024-7957: Arbitrary File Overwrite in danswer-ai/danswer

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2025-03-20T10:10:21.850Z
- Modified: 2026-06-17T08:21:24.107Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- danswer-ai danswer-ai/danswer: from unspecified up to latest

## References

- <https://huntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275>

## Sources

- CVE List: [CVE-2024-7957](https://www.cve.org/CVERecord?id=CVE-2024-7957), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-7957](https://nvd.nist.gov/vuln/detail/CVE-2024-7957), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-7957 · Whole record: https://cve.day/CVE-2024-7957.json · Rebuilt by cve.day 2026-11-25T22:58:52.385Z
