Arbitrary File Overwrite in danswer-ai/danswer
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| danswer-ai | danswer-ai/danswer | up to latest | — | No fix listed | CNA |
- danswer-ai/danswer Vendordanswer-ai Affected up to latest Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-7957
- 2026-10-03 Alias added: GHSA-q6gg-j289-2hm4
References
More danswer-ai vulnerabilities
- TI-2024-21753 Unauthorized access to GET/SET of Slack Bot Tokens in Danswer CVSS 3.1CRITICAL 9.8
- TI-2025-00141 Denial of Service in danswer-ai/danswer CVSS 3.0HIGH 7.5
- TI-2024-07442 Denial of Service in danswer-ai/danswer CVSS 3.0HIGH 7.5
- TI-2024-07212 ReDoS (Regular Expression Denial of Service) in danswer-ai/danswer CVSS 3.0HIGH 7.5
- TI-2024-07477 CSRF in danswer-ai/danswer CVSS 3.0HIGH 8.1
- TI-2024-07246 CORS Misconfiguration in danswer-ai/danswer CVSS 3.0HIGH 7.4
Sources
- CVE-2024-7957 · CVE Program
- CVE-2024-7957 · NVD
- FIRST EPSS
- GHSA-q6gg-j289-2hm4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences