DB-GPT vulnerable to Arbitrary File Upload with Path Traversal
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Upload with Path Traversal. This vulnerability allows unauthorized attackers to upload arbitrary files to the victim's file system at any location. The impact of this vulnerability includes the potential for remote code execution (RCE) by writing malicious files, such as a malicious `__init__.py` in the Python's `/site-packages/` directory.
- Products
- dbgpt
- Affected versions
- 0.4.7, 0.5.0, 0.5.1, 0.5.10, 0.5.1rc0, 0.5.2, 0.5.2rc0, 0.5.3, 0.5.3rc0, 0.5.4, 0.5.4rc0, 0.5.5, 0.5.5rc0, 0.5.6, 0.5.6rc0, 0.5.7, 0.5.7rc0, 0.5.8, 0.5.9, 0.5.9rc0
- Fixed versions
- Not specified
- CVEs
- CVE-2024-10902
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 18:46 UTC · Revision 1
Source evidence
DB-GPT vulnerable to Arbitrary File Upload with Path Traversal
core-osv · Original sourcePublished 20 Mar 2025, 12:32 UTC
In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Upload with Path Traversal. This vulnerability allows unauthorized attackers to upload arbitrary files to the victim's file system at any location. The impact of this vulnerability includes the potential for remote code execution (RCE) by writing malicious files, such as a malicious `__init__.py` in the Python's `/site-packages/` directory.
osv:GHSA-3xq5-x4fj-rff7
dbgpt
Fixed versions: Not specified
Complete source record
{
"id": "dd33320ef83beac55a34d8b401217d0e712a71055e53bc76be0b7c52f4fbd0a2",
"url": "https://osv.dev/vulnerability/GHSA-3xq5-x4fj-rff7",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DB-GPT vulnerable to Arbitrary File Upload with Path Traversal",
"summary": "In eosphoros-ai/db-gpt version v0.6.0, the web API `POST /v1/personal/agent/upload` is vulnerable to Arbitrary File Upload with Path Traversal. This vulnerability allows unauthorized attackers to upload arbitrary files to the victim's file system at any location. The impact of this vulnerability includes the potential for remote code execution (RCE) by writing malicious files, such as a malicious `__init__.py` in the Python's `/site-packages/` directory.",
"evidence": "osv:GHSA-3xq5-x4fj-rff7",
"products": [
{
"name": {
"value": "dbgpt",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.7",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.10",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.1rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.2rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.3",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.3rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.4",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.4rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.5",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.5rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.6",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.6rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.7",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.7rc0",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.8",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.9",
"evidence": "/affected/0/versions"
},
{
"value": "0.5.9rc0",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "GHSA-3xq5-x4fj-rff7",
"aliases": [
"CVE-2024-10902",
"GHSA-3xq5-x4fj-rff7",
"PYSEC-2026-321"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.6.0"
}
]
}
],
"package": {
"name": "dbgpt",
"purl": "pkg:pypi/dbgpt",
"ecosystem": "PyPI"
},
"versions": [
"0.4.7",
"0.5.0",
"0.5.1",
"0.5.10",
"0.5.1rc0",
"0.5.2",
"0.5.2rc0",
"0.5.3",
"0.5.3rc0",
"0.5.4",
"0.5.4rc0",
"0.5.5",
"0.5.5rc0",
"0.5.6",
"0.5.6rc0",
"0.5.7",
"0.5.7rc0",
"0.5.8",
"0.5.9",
"0.5.9rc0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-3xq5-x4fj-rff7/GHSA-3xq5-x4fj-rff7.json"
}
}
],
"modified": "2026-10-27T16:30:06.794411629Z",
"provider": "osv",
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2024-10902",
"https://github.com/eosphoros-ai/DB-GPT",
"https://github.com/pypa/advisory-database/tree/main/vulns/dbgpt/PYSEC-2026-321.yaml",
"https://huntr.com/bounties/f7fbf76e-aa1c-4106-b007-e9579f4f7d5f",
"https://pypi.org/project/dbgpt"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-73"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2025-03-20T10:15:21Z",
"github_reviewed_at": "2025-03-21T16:13:54Z"
}
},
"related_cves": [
{
"value": "CVE-2024-10902",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 462873,
"published_at": "2025-03-20T12:32:40+00:00"
}