CVE Catalog

CVE-2026-77932

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can take control of the application container and access data and credentials, posing a critical risk to the entire environment.

Recommendation

Update DB-GPT to a version later than 0.8.2, implement proper authentication and authorization, and run the service in a restricted, unprivileged context.

Other vulnerabilities in DB-GPT

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS