Vulnerabilities

CVE-2024-7957

Critical 9.1 CVSS 3.0

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.

Description as published by the source, in English.

Key facts

Published
2025-03-20
Last modified
2026-06-17
Assigned by
security@huntr.dev
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Scored by
security@huntr.dev
Probability of exploitation
0.9 % higher than 56 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
danswer-ai danswer-ai/danswer ≥ unspecified, ≤ latest Affected

Weakness type

  • CWE-29: Path Traversal: '\..\filename'

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a locati…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities