Summary
CVE-2026-54349 is a critical SQL injection vulnerability (CWE-89) in Chartbrew, an open-source application for building charts from databases and APIs. Versions before 5.2.1 are affected. Unauthenticated attackers can exploit it over the network, and the CVSS v3.1 base score is 9.8 (Critical).
Technical details
- Root cause: SQL variable substitution for dashboard filters handles JavaScript replacement strings unsafely. Backslash escaping is also improper in MySQL and MariaDB contexts.
- Trigger conditions: The attacker sends crafted URL filter values to public or embedded charts and dashboards.
- Attack vector: Network. No authentication or user interaction is required.
- Impact: An attacker could read, modify or delete database contents, according to the CVE record.
Affected software
- Chartbrew versions earlier than 5.2.1
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Chartbrew to version 5.2.1 or later. The fix is in commit f93d31ac586091f72a7eb97d89fa3b4db271bd24.
- If you cannot patch immediately: The advisory sources reviewed did not list workarounds. Restrict network access to Chartbrew instances, particularly public or embedded chart and dashboard endpoints, until you can upgrade.

