Skip to content
Heist/ feed
Back to feed
Critical

Arbitrary File Write in eosphoros-ai/db-gpt

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-10834
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:53 UTC · Revision 1

Source evidence

Arbitrary File Write in eosphoros-ai/db-gpt

core-osv · Original source

Published 20 Mar 2025, 10:11 UTC

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.

osv:CVE-2024-10834
Complete source record
{
  "id": "2016f04860afb30057e5ea856801b870244565a6160a06bb846dd376057647d5",
  "url": "https://osv.dev/vulnerability/CVE-2024-10834",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arbitrary File Write in eosphoros-ai/db-gpt",
    "summary": "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.",
    "evidence": "osv:CVE-2024-10834",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-10834",
      "aliases": [
        "CVE-2024-10834"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/eosphoros-ai/db-gpt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b34295562924046c229f0fd424ac3c7b54b7ecc8"
                },
                {
                  "last_affected": "b34295562924046c229f0fd424ac3c7b54b7ecc8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dbgpt:db-gpt:0.6.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.6.0"
                      },
                      {
                        "last_affected": "0.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.6.0",
            "v0.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-10834.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.076884373Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/0d598508-151a-4050-9ccd-31bb82955e7a",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/10xxx/CVE-2024-10834.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-10834"
      ],
      "provider_metadata": {
        "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"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-10834",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510034,
  "published_at": "2025-03-20T10:11:01.55+00:00"
}