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

Published Mar 20, 2025
·
Updated

An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the loadcredentials method, where user-controlled input for realmname and zuliprccontent 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 Software

1 affected component
danswer-ai danswer<=latest

Event History

Mar 20, 2025
CVE Published
via MITRE·10:10 AM
Data Sourced
via MITRE·10:10 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-7957?

CVE-2024-7957 is classified as a critical severity vulnerability due to its potential for arbitrary file overwriting.

2

How do I fix CVE-2024-7957?

To fix CVE-2024-7957, ensure input validation is implemented for user-controlled parameters in the load_credentials method to prevent unauthorized file path construction.

3

What systems are affected by CVE-2024-7957?

CVE-2024-7957 affects the latest version of the Danswer AI software from danswer-ai.

4

What type of vulnerability is CVE-2024-7957?

CVE-2024-7957 is an arbitrary file overwrite vulnerability.

5

Is there a known exploit for CVE-2024-7957?

As of now, there is no publicly reported exploit specifically for CVE-2024-7957.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203