Skip to content

CVE-2026-77932 DB-GPT through 0.8.2 Unauthenticated RCE via /api/v1/chat/react-agent

CriticalCVSS 9.3 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

DB-GPT through 0.8.2 contains an unauthenticated remote code execution vulnerability because the /api/v1/chat/react-agent endpoint relies on a mock get_user_from_headers function that grants every caller the admin role. Unauthenticated attackers can send prompts that make the ReAct agent's unsandboxed code_interpreter and shell_interpreter tools run arbitrary Python or bash as root in the webserver container, including reaching the bundled database with default credentials.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi dbgpt-app(PyPI) <= 0.8.2 after 0.8.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi dbgpt-app(PyPI) <= 0.8.2 No fix listed

References