Skip to main content

Chat2db EUVDEUVD-2026-12220

| CVE-2026-4173 LOW
SQL Injection (CWE-89)
2026-03-15 VulDB
2.1
CVSS 4.0 · NVD
View

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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Chat2DB 0.3.1
Chat2DB 0.3.2
Chat2DB 0.3.4
Chat2DB 0.3.5
Chat2DB 0.3.0
Chat2DB 0.3.3
Chat2DB 0.3.6
Chat2DB 0.3.7

Affected Packages

euvd chat2db no fix

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

NVD PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVSS changed
Apr 22, 2026 - 21:37 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
PoC Detected
Mar 16, 2026 - 14:53 vuln.today
Public exploit code
CVE Published
Mar 15, 2026 - 09:02 nvd
MEDIUM 6.3

DescriptionCVE.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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: deploy WAF rules, restrict network access, enable logging.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy