CVE-2026-77932
Deferred Deferred - Pending Action

Unauthenticated Remote Code Execution in DB-GPT

Vulnerability report for CVE-2026-77932, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-11-09
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-07
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
eosphoros-ai DB-GPT 0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

DB-GPT through 0.8.2 has an unauthenticated remote code execution (RCE) vulnerability in the /api/v1/chat/react-agent endpoint. The flaw stems from a mock authentication function that automatically grants admin privileges to all users. Attackers can exploit this by sending malicious prompts that trigger unsandboxed code_interpreter and shell_interpreter tools, allowing arbitrary Python or bash command execution as root in the webserver container.

Detection Guidance

Check if DB-GPT version 0.8.2 or earlier is installed by running: pip show db-gpt or checking package versions. Inspect network traffic for requests to /api/v1/chat/react-agent endpoints. Monitor for unexpected root-level command execution or Python code execution logs in the DB-GPT container or server logs.

  • Use curl to test the vulnerable endpoint: curl -X POST http://<target>/api/v1/chat/react-agent -H 'Content-Type: application/json' -d '{"prompt":"malicious command"}' to see if arbitrary code executes.
Impact Analysis

Unauthenticated attackers can execute arbitrary code as root on the server hosting DB-GPT, potentially taking full control of the system. This includes accessing the bundled database with default credentials, stealing sensitive data, installing malware, or disrupting services. The vulnerability affects all versions up to and including 0.8.2.

Compliance Impact

This vulnerability likely violates compliance requirements for GDPR and HIPAA due to unauthorized access to sensitive data. GDPR mandates strict data protection and breach notification, while HIPAA requires safeguards for protected health information. A successful exploit could lead to unauthorized data exposure, triggering regulatory penalties and legal consequences.

Mitigation Strategies

Upgrade DB-GPT to a version that patches this vulnerability immediately. If upgrading is not possible, disable the /api/v1/chat/react-agent endpoint or restrict access to trusted networks. Remove or patch the mock get_user_from_headers function to enforce proper authentication.

  • Apply network-level controls to block unauthorized access to the vulnerable API endpoint until a patch is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77932. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...