{"id":"CVE-2026-77932","revision":"8e975c5bb32f49f091d5b06f9f3a99cb","records":[{"revision":"8e975c5bb32f49f091d5b06f9f3a99cb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-77932","aliases":[],"title":"DB-GPT through 0.8.2 Unauthenticated RCE via /api/v1/chat/react-agent","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.","state":0,"publishedAt":"2026-10-20T00:46:11.41+00:00","modifiedAt":"2026-10-20T13:49:48.138+00:00","affected":[{"ecosystem":"https://pypi.org","name":"DB-GPT","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"eosphoros-ai\",\n                    \"product\": \"DB-GPT\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"0.8.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:pypi/dbgpt-app\",\n                    \"collectionURL\": \"https://pypi.org\",\n                    \"repo\": \"https://github.com/eosphoros-ai/DB-GPT\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://www.lasso.security/vulnerability-database/cve-2026-77932","https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-serve/src/dbgpt_serve/utils/auth.py#L25","https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/tools/code_interpreter.py#L39","https://www.vulncheck.com/advisories/db-gpt-through-0.8.2-unauthenticated-rce-via-api-v1-chat-react-agent"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-77932","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-77932","identifiers":["CVE-2026-77932"]},"retained":false,"historicalAffected":[]}],"coverage":[]}