← Back to search

CVE-2026-77932

9.8 CRITICALpublic exploit available

Published 2026-10-20 · Updated 2026-10-20

AI risk analysis

Summary
DB-GPT allows unauthenticated remote code execution through a mock authentication function that grants admin privileges to all users, enabling attackers to run arbitrary Python and bash code as root in the webserver container.
Exploitability
Very easy to exploit with no preconditions required, as the vulnerability exists in an unauthenticated endpoint with a mock authentication function that automatically grants admin access.
Blast radius
High impact across all systems using DB-GPT 0.8.2 or earlier, potentially allowing full system compromise including database access with default credentials.
Detection
Monitor for unusual API calls to /api/v1/chat/react-agent with code_interpreter or shell_interpreter tools being invoked, and check for root-level process execution from the webserver container.
Prioritized remediation
Upgrade to DB-GPT version 0.8.3 or later to fix the unauthenticated RCE vulnerability in the /api/v1/chat/react-agent endpoint.
rceauth-bypasswebdatabase

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-306

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.