CVE-2024-10834

Source
https://cve.org/CVERecord?id=CVE-2024-10834
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10834.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-10834
Published
2025-03-20T10:11:01.550Z
Modified
2026-07-15T01:49:18.623452032Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-73"
    ],
    "cna_assigner": "@huntr_ai",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10834.json"
}
References

Affected packages

Git / github.com/eosphoros-ai/db-gpt

Affected ranges

Type
GIT
Repo
https://github.com/eosphoros-ai/db-gpt
Events
Database specific
{
    "cpe": "cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.6.0"
        },
        {
            "last_affected": "0.6.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.6.0
v0.*
v0.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10834.json"