---
id: CVE-2026-77932
title: DB-GPT through 0.8.2 Unauthenticated RCE via /api/v1/chat/react-agent
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 a…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-306
vendor: eosphoros-ai
product: DB-GPT
affected:
  - DB-GPT <= 0.8.2
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T00:46:11.410Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-77932'
references:
  - url: 'https://www.lasso.security/vulnerability-database/cve-2026-77932'
    label: Lasso.security Advisory
  - url: >-
      https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-serve/src/dbgpt_serve/utils/auth.py#L25
  - url: >-
      https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/tools/code_interpreter.py#L39
  - url: >-
      https://www.vulncheck.com/advisories/db-gpt-through-0.8.2-unauthenticated-rce-via-api-v1-chat-react-agent
    label: >-
      VulnCheck Advisory: DB-GPT through 0.8.2 Unauthenticated RCE via
      /api/v1/chat/react-agent
tags:
  - cve.org
ingestedAt: '2026-10-20T01:49:42.624Z'
---

## Overview

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.

## Affected

- `DB-GPT <= 0.8.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
