{"id":"CVE-2026-77932","summary":"DB-GPT through 0.8.2 Unauthenticated RCE via /api/v1/chat/react-agent","details":"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.","modified":"2026-10-20T10:47:24.492248930Z","published":"2026-10-20T00:46:11.410Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-306"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77932.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77932.json"},{"type":"PACKAGE","url":"https://github.com/eosphoros-ai/DB-GPT"},{"type":"ARTICLE","url":"https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/tools/code_interpreter.py#L39"},{"type":"ARTICLE","url":"https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-serve/src/dbgpt_serve/utils/auth.py#L25"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77932"},{"type":"WEB","url":"https://pypi.org"},{"type":"EVIDENCE","url":"https://www.lasso.security/vulnerability-database/cve-2026-77932"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/db-gpt-through-0.8.2-unauthenticated-rce-via-api-v1-chat-react-agent"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eosphoros-ai/db-gpt","events":[{"introduced":"0"},{"last_affected":"83609c471266607490b24e72188311efa23a0d16"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.8.2"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v0.8.2","v0.8.1","v0.8.0","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","0.4.1","v0.4.0","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.1","v0.1.0","v0.0.7","v0.0.6","v0.0.5-beta","v0.0.4-alpha","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-77932.json"}}],"schema_version":"1.9.1","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}