Skip to content

← Public intelligence

PyPI package

dbgpt

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.1PyPIAmendedPublished

    DB-GPT Absolute Path Traversal in knowledge/{space_name}/document/upload

    CVE-2024-10833 · GHSA-j9g7-mqhh-9hxf

    Affected
    • PyPI dbgpt < 0.6.2
    Fixed in
    0.6.2· Vendor fix available
    Issue
    eosphoros-ai/db-gpt version 0.6.0 is vulnerable to an arbitrary file write through the knowledge API. The endpoint for uploading files as 'knowledge' is susceptible to absolute path traversal, allowing attackers to write files to arbitrary locations on the target server. This vulnerability arises because the 'doc_file.filename' parameter is user-controllable, enabling the construction of absolute paths.

    Recommended action: Upgrade to 0.6.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Critical, CVSS 9.1PyPIAmendedPublished

    DB-GPT is vulnerable to SQL Injection attacks from unauthenticated users

    CVE-2024-10835 · GHSA-qccg-9m4q-xfm6

    Affected
    • PyPI dbgpt < 0.7.1
    Fixed in
    0.7.1· Vendor fix available
    Issue
    In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /api/v1/editor/sql/run` allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write using DuckDB SQL, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE).

    Recommended action: Upgrade to 0.7.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →