{"id":"CVE-2024-7957","aliases":["EUVD-2025-6913","GHSA-q6gg-j289-2hm4"],"status":"published","title":"Arbitrary File Overwrite in danswer-ai/danswer","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.","severity":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00952,"percentile":0.61561,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-29"],"published":"2025-03-20T10:10:21Z","modified":"2026-06-17T08:21:24Z","products":[{"vendor":"danswer-ai","product":"danswer-ai/danswer"}],"references":[{"url":"https://huntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7957"},{"url":"https://github.com/advisories/GHSA-q6gg-j289-2hm4"}],"sources":{"cve":[{"id":"CVE-2024-7957","title":"Arbitrary File Overwrite in danswer-ai/danswer","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.","status":"published","published":"2025-03-20T10:10:21.85Z","modified":"2025-03-20T18:22:39.123Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-29"],"updated_at":"2026-11-02T14:34:20.673123Z"}],"euvd":[{"id":"EUVD-2025-6913","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.","status":"published","published":"2025-03-20T10:10:21Z","modified":"2025-03-20T18:22:39Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:52:57.377828Z"}],"ghsa":[{"id":"GHSA-q6gg-j289-2hm4","title":"An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer,...","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.","status":"published","published":"2025-03-20T12:32:47Z","modified":"2025-03-20T12:32:59Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical"}],"cwes":["CWE-29"],"updated_at":"2026-11-02T15:00:23.060957Z"}],"nvd":[{"id":"CVE-2024-7957","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.","status":"published","published":"2025-03-20T10:15:38.13Z","modified":"2026-06-17T08:21:24.107Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-29"],"updated_at":"2026-11-02T14:10:45.815983Z"}]}}
