Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-51459

File Upload vulnerability in agent.hub.controller.refresh_plugins in eosphoros-ai DB-GPT 0.7.0 allows remote attackers to execute arbitrary code via a malicious plugin ZIP file uploaded to the /v1/personal/agent/upload endpoint, interacting with plugin_hub._sanitize_filename and plugins_util.scan_plugins.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-51459
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 16:21 UTC · Revision 1

Source evidence

CVE-2025-51459

core-osv · Original source

Published 22 Jul 2025, 00:00 UTC

File Upload vulnerability in agent.hub.controller.refresh_plugins in eosphoros-ai DB-GPT 0.7.0 allows remote attackers to execute arbitrary code via a malicious plugin ZIP file uploaded to the /v1/personal/agent/upload endpoint, interacting with plugin_hub._sanitize_filename and plugins_util.scan_plugins.

osv:CVE-2025-51459
Complete source record
{
  "id": "489484190884e096b04435dcafc01de01835ab9367079ff7827d970834d37228",
  "url": "https://osv.dev/vulnerability/CVE-2025-51459",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-51459",
    "summary": "File Upload vulnerability in agent.hub.controller.refresh_plugins in eosphoros-ai DB-GPT 0.7.0 allows remote attackers to execute arbitrary code via a malicious plugin ZIP file uploaded to the /v1/personal/agent/upload endpoint, interacting with plugin_hub._sanitize_filename and plugins_util.scan_plugins.",
    "evidence": "osv:CVE-2025-51459",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-51459",
      "aliases": [
        "CVE-2025-51459"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/eosphoros-ai/db-gpt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "59771a09f33f28c585e30f9a099ab0c13e681f98"
                },
                {
                  "last_affected": "59771a09f33f28c585e30f9a099ab0c13e681f98"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dbgpt:db-gpt:0.7.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.7.0"
                      },
                      {
                        "last_affected": "0.7.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.7.0",
            "v0.7.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51459.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:20.896871056Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51459.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-51459",
        "https://github.com/eosphoros-ai/DB-GPT/pull/2649",
        "https://www.gecko.security/blog/cve-2025-51459"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51459.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-51459",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487051,
  "published_at": "2025-07-22T00:00:00+00:00"
}