Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-77932: DB-GPT unauthenticated remote code execution through /api/v1/chat/react-agent

Identifier
CVE-2026-77932
Published
Record updated
View JSON

Summary

DB-GPT through 0.8.2 has an unauthenticated remote code execution flaw. The /api/v1/chat/react-agent endpoint relies on a mock get_user_from_headers function that gives every caller the admin role. 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.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.