{"id":"CVE-2024-10834","summary":"Arbitrary File Write in eosphoros-ai/db-gpt","details":"eosphoros-ai/db-gpt version 0.6.0 contains a vulnerability in the RAG-knowledge endpoint that allows for arbitrary file write. The issue arises from the ability to pass an absolute path to a call to `os.path.join`, enabling an attacker to write files to arbitrary locations on the target server. This vulnerability can be exploited by setting the `doc_file.filename` to an absolute path, which can lead to overwriting system files or creating new SSH-key entries.","modified":"2026-08-12T03:51:48.868859490Z","published":"2025-03-20T10:11:01.550Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10834.json","cna_assigner":"@huntr_ai","cwe_ids":["CWE-73"]},"references":[{"type":"WEB","url":"https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10834.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10834"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eosphoros-ai/db-gpt","events":[{"introduced":"b34295562924046c229f0fd424ac3c7b54b7ecc8"},{"last_affected":"b34295562924046c229f0fd424ac3c7b54b7ecc8"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.6.0"},{"last_affected":"0.6.0"}]}}],"versions":["0.6.0","v0.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10834.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}