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. |
| Impact | This vulnerability presents a moderate-to-significant real-world risk despite a CVSS 6.3 (Medium) rating. Key risk signals: (1) Attack Vector: Network/Low Complexity—easily exploitable once authenticated; (2) Exploitation Evidence: Public POC available on GitHub (AnalogyC0de/public_exp), indicating active disclosure and likely weaponization; (3) Authentication Required: PR:L (Low Privilege) mitigates attack surface to authenticated users only, reducing exposure in air-gapped environments but problematic for SaaS deployments; (4) Vendor Non-Response: Lack of vendor engagement indicates no patch timeline or mitigation guidance; (5) EPSS/Automation: The 'E:P' vector indicates proof-of-concept exists; automatable nature of SQL injection makes this high-velocity attack material. SSVC assessment: Exploitation status=proof-of-concept (not 0-day), automatable=yes (SQL injection is easily scriptable), technical impact=total (SQL injection can leak, modify, or delete database contents). This is NOT a low-real-risk issue—it is actively exploitable with publicly available code. Organizations using Chat2DB in production should treat this as high-priority for authenticated threat models. |
| Exploit ScenarioDerived | An internal database administrator or authenticated application user with low privileges logs into Chat2DB and uses the export table function. The attacker crafts a malicious table name, column name, or view name containing SQL injection payload (e.g., "table_name; DROP TABLE users; --"). When the administrator clicks 'Export Table,' the vulnerable exportTable() function constructs a SQL query by concatenating user input without sanitization. The injected SQL executes in the backend database context, potentially allowing the attacker to enumerate database schemas, exfiltrate sensitive data (customer PII, credentials), modify records, or delete critical tables. Because exploitation requires authentication (reducing blast radius to insider threats or compromised user accounts) but uses a public POC, automated tooling can quickly escalate privileges or pivot to database compromise once Chat2DB access is obtained. The low complexity (AC:L) and absence of user interaction (UI:N) make this easily repeatable in production environments. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CodePhiliaX Chat2DB versions up to 0.3.7 contain a SQL injection vulnerability in the Database Export Handler component (DMDBManage.java) affecting multiple export functions. An authenticated attacker with low privileges can remotely exploit this vulnerability to execute arbitrary SQL commands, potentially compromising data confidentiality, integrity, and availability. A public proof-of-concept exploit is available, and the vendor has not responded to early disclosure attempts.
RemediationAI
Immediate mitigation: (1) Upgrade to Chat2DB version >0.3.7 if available (vendor response status unknown; check official GitHub repository for releases beyond 0.3.7); (2) If patched version unavailable, implement network access controls restricting Chat2DB to trusted users/networks only, reducing authenticated attack surface; (3) Monitor database audit logs for suspicious SQL patterns or unusual export activity; (4) Apply least-privilege database credentials to Chat2DB service accounts, limiting damage from SQL injection exploitation; (5) If running Chat2DB in a trusted-user-only environment, consider temporary disablement of export functions until patch availability is confirmed. Long-term: Coordinate with CodePhiliaX to obtain patch release; alternatively, migrate to alternative database tools with better security track records if vendor remains unresponsive. References for patch status: https://github.com/AnalogyC0de/public_exp/issues/21 (confirms POC), https://vuldb.com/?id.351080 (primary vulnerability record).
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 Java-based Chat2DB application's database export functionality, specifically in DMDBManage.java. The affected functions (exportTable, exportTableColumnComment, exportView, exportProcedure, exportTriggers, exportTrigger, updateProcedure) fail to properly sanitize user-supplied input before incorporating it into SQL queries, creating a classical SQL injection vector (CWE-89). Chat2DB is a database management and query tool that handles database connectivity and export operations; the flaw lies in inadequate parameterized query implementation or input validation in the export handler component. The CPE identifier cpe:2.3:a:codephiliax:chat2db:*:*:*:*:*:*:*:* indicates all versions through 0.3.7 are affected across all configurations.
Know when Chat2db 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 NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
A flaw has been found in CodePhiliaX Chat2DB up to 0.3.7. This vulnerability affects the function exportTable/exportTableColumnComment/exportView/exportProcedure/exportTriggers/exportTrigger/updateProcedure of the file DMDBManage.java of the component Database Export Handler. This manipulation causes sql injection. It is possible to initiate the attack remotely. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Organizations using CodePhiliaX Chat2DB should be aware of moderate risk from CVE-2026-4173, a SQL injection vulnerability rated CVSS 6.3. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.
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.
Insecure direct object reference in Chat2DB before 5.3.0 lets any authenticated non-admin user read the decrypted databa
An unrestricted file upload vulnerability exists in CodePhiliaX Chat2DB versions up to 0.3.7 in the JDBC Driver Upload f
Path traversal in OtterMind Chat2DB 5.3.0 through 5.3.8 allows remote attackers to manipulate the tableName argument in
EUVD-2026-12220
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB