Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege coze-studio credentials
-
DeliverySend HTTP request to databaseTool endpoint
-
ExploitCraft SQL injection payload in ExecuteSQL parameter
-
ExecutionBackend concatenates unsanitized input into SQL query
-
PersistExecute arbitrary SQL commands
-
ImpactExfiltrate or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access to ByteDance coze-studio with at least low-privilege user credentials (PR:L in CVSS). The databaseTool component and ExecuteSQL function must be accessible and enabled in the backend service. The vulnerability is triggered by submitting crafted SQL metacharacters or full SQL statements through input fields or parameters that are passed to the ExecuteSQL function without sanitization. No special configuration or non-default setup is explicitly required; default installations with authentication enabled are vulnerable. The limiting factors are the requirement for valid user credentials and network access to the coze-studio backend service. |
| Impact | This vulnerability presents moderate real-world risk despite a CVSS score of 5.3. The CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates remote exploitation requiring only low-privilege authentication with no user interaction, making it accessible to low-privileged application users or accounts. The CVSS v4.0 score reflects limited impact (VC:L/VI:L/VA:L - confidentiality, integrity, and availability each score low), suggesting the SQL injection does not grant complete database compromise but rather limited data access or modification. However, exploitation probability (E:P) is marked as probable, and public exploit code exists on GitHub, significantly elevating practical risk. The low authentication barrier (PR:L rather than PR:N) is the primary limiting factor - only authenticated users can trigger the vulnerability, which reduces attack surface compared to unauthenticated SQL injection. The absence of vendor response and continued presence of the flaw in versions through 0.5.1 indicate remediation is not underway. Organizations running coze-studio must assess whether low-privilege users are trusted or whether account compromise is a realistic threat model in their environment. |
| Exploit ScenarioDerived | An authenticated user with low-privilege access to ByteDance coze-studio (such as a junior analyst or contractor account) crafts a malicious SQL injection payload and submits it through the databaseTool component's ExecuteSQL function via a network request. The backend service fails to sanitize the input, directly concatenating the user-supplied string into a SQL query. The attacker executes unauthorized SELECT or UPDATE queries against the backend database, exfiltrating sensitive data or modifying records. Given the low impact rating, the attacker likely gains access to unauthorized data or limited database modification rather than complete system compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 26, 2026
SQL injection in ByteDance coze-studio up to version 0.5.1 allows authenticated remote attackers to manipulate the ExecuteSQL function in the databaseTool component, enabling arbitrary SQL query execution with limited confidentiality and integrity impact. The vulnerability has a publicly available exploit and affects the backend database service layer; the vendor has not responded to disclosure efforts.
RemediationAI
Upgrade ByteDance coze-studio to a version newer than 0.5.1 immediately; however, no patched version has been identified in available sources. Contact ByteDance support to obtain a fixed release or backported patch, though the vendor has historically not responded to security disclosures. As immediate compensating controls, restrict network access to the coze-studio backend service using firewall rules to limit exposure to trusted network segments only; disable or restrict access to the databaseTool component and ExecuteSQL function if they are not essential for operations; implement least-privilege access controls to ensure only high-trust users have authentication credentials for coze-studio; and deploy Web Application Firewall (WAF) rules to detect and block SQL injection payloads targeting the databaseTool endpoint (monitor for SQL keywords and syntax indicators in request parameters). Monitor database query logs for suspicious SQL patterns indicative of injection attempts. Note that compensating controls do not eliminate the underlying vulnerability and should be considered temporary measures until a patch is available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the ExecuteSQL function within backend/domain/memory/database/service/database_impl.go, part of the databaseTool component. The root cause is CWE-89 (SQL Injection), indicating that user-supplied input is not properly sanitized before being incorporated into SQL queries. The attack vector is network-based with low complexity, requiring only low-privilege authentication. The affected product is ByteDance's coze-studio, identified by CPE cpe:2.3:a:bytedance:coze-studio:*:*:*:*:*:*:*:*, a tool that likely provides database manipulation capabilities through a backend service.
Know when Coze Studio gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was detected in ByteDance coze-studio up to 0.5.1. Affected by this vulnerability is the function ExecuteSQL of the file backend/domain/memory/database/service/database_impl.go of the component databaseTool. Performing a manipulation results in sql injection. The attack can be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Coze Studio
View allRemote code execution in Coze Studio before 0.5.0 allows any registered user to run arbitrary commands through workflow
Coze Studio through 0.5.1 exposes cross-tenant workflow access because its workflow API trusts a client-supplied workflo
Improper authorization in Coze Studio through 0.5.1 lets an authenticated user (CVSS PR:L) abuse the workflow SQL custom
Server-side request forgery in Coze Studio through version 0.5.1 allows an authenticated user who can register or config
EUVD-2026-25698
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB