Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-7957 EUVD-2025-6913GHSA-q6gg-j289-2hm4

Arbitrary File Overwrite in danswer-ai/danswer

Published Mar 20, 2025 · Updated Mar 20, 2025 · 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.

Affected products

VendorProductAffectedFixed
danswer-ai danswer-ai/danswer unspecified – ≤ latest —

References