Advisory

GHSA-7gj6-22m4-qfhx

Also known as: CVE-2024-10901, PYSEC-2026-322

Summary

DB-GPT Arbitrary File Write vulnerability

Details

In eosphoros-ai/db-gpt version v0.6.3 and earlier, the web API POST /api/v1/editor/chart/run allows execution of arbitrary SQL queries without any access control. This vulnerability can be exploited by attackers to perform Arbitrary File Write, enabling them to write arbitrary files to the victim's file system. This can potentially lead to Remote Code Execution (RCE) by writing malicious files such as __init__.py in the Python's /site-packages/ directory.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-10-27 16:45 UTC

Affected packages and fixes

dbgpt

PyPI · All systems

Affected

  • introduced 0, last affected 0.6.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences