CVE-2026-54349 is a critical SQL injection vulnerability in Chartbrew public and embedded charts. The CVE record says an unauthenticated visitor can influence a stored SQL query through URL-controlled dashboard variables. Exploitation requires an exposed chart using those variables with a connected SQL data source.The Chartbrew advisory lists versions through 5.2.0 as affected and 5.2.1 as fixed. Its CVSS 3.1 score is 9.8, but the score alone does not establish that a particular installation is exposed. The database account's privileges determine what injected SQL could reach.
What it allows
How Does CVE-2026-54349 Reach a Connected Database?
The Chartbrew advisory traces the issue to substitution of dashboard variables into a saved SQL query. User-controlled filter values pass through string escaping, then JavaScript replacement behavior changes the resulting query text. A separate backslash escaping gap affects quoted values on MySQL and MariaDB. The replacement-string path is described as independent of the SQL engine.
A public or embedded chart can accept those filter values without a Chartbrew login. Chartbrew then runs the chart author's stored query against its configured database connection. The advisory says injected SQL could read, modify or delete accessible data, depending on the database account's privileges. This is a conditional impact, not evidence that every connected database is affected.
Readers who need the underlying weakness can consult the SQL injection glossary entry. The earlier Chartbrew CVE news summary covers the broader patching context. This profile focuses on the conditions and fix for CVE-2026-54349.
What Is Known About Exploitation of CVE-2026-54349?
The GitHub advisory includes a demonstration of the flaw; it does not describe attacks against deployed organizations. The CISA KEV catalog version dated 18 November 2026 does not list this CVE. Neither statement determines whether an individual Chartbrew instance has been attacked.
Brandefense Blackhole counted two dark-chat posts mentioning CVE-2026-54349 from 21 August through 19 November 2026. The unit is a post mentioning the identifier, not an incident, exploit attempt or unique actor. Treat this discussion as a research signal while prioritizing assets by exposure and database privilege.
The Vulnerability Intelligence page provides wider context for that prioritization. First identify public and embedded charts that pass visitor input to stored SQL queries. Then check the Chartbrew build and the permissions of each connected database account.
Who is affected
Which Chartbrew Installations Need the 5.2.1 Fix?
The Chartbrew advisory marks versions through 5.2.0 as affected and 5.2.1 as patched. The CVE Program record expresses the affected range as versions before 5.2.1. The exposure described in both records requires a public or embedded chart backed by a stored SQL query that uses URL-controlled variables.
The replacement-string weakness can affect SQL connectors beyond MySQL and MariaDB, according to the advisory. Its separate backslash path is specific to MySQL and MariaDB quoted contexts. Review every connected SQL data source rather than assuming only one connector matters. Private charts without the stated public or embedded input path fall outside the described unauthenticated route.
Record the running Chartbrew version, published chart settings, variable use and connected database account for each instance. Upgrade affected installations to 5.2.1 or later and confirm the running application reports that version. The source gives no lower release boundary suitable for a single automated version range, so compare the installed build manually against the advisory.
Timeline
- 2026-07-06
The Chartbrew GitHub security advisory was published and identified 5.2.1 as the patched version.
- 2026-11-06
The CVE Program published the CVE-2026-54349 record.
- 2026-11-18
The CISA KEV catalog version checked for this draft did not list CVE-2026-54349.
What to do
-
Inventory exposed SQL charts
Identify Chartbrew instances through 5.2.0, then find public or embedded charts using URL-controlled variables in saved SQL queries. Record the connected data source and database account.
-
Reduce database account privileges
Review what each Chartbrew database account can read or change. Remove permissions the dashboard does not need, because the advisory ties potential impact to that account's privileges.
-
Upgrade and verify the running version
Upgrade affected Chartbrew installations to version 5.2.1 or later. After deployment, confirm the version actually running and retest the public or embedded charts used by readers.
-
Review relevant access and database activity
For exposed charts, review application access records and connected database query logs for unusual filter activity or queries. Preserve relevant logs and investigate any anomaly before concluding whether an instance was affected.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-54349 in Brandefense Atlas
The Atlas record of CVE-2026-54349: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-54349 require a Chartbrew login?
The advisory describes an unauthenticated path through public or embedded charts that use visitor-controlled variables in stored SQL queries.
Are only MySQL and MariaDB connections affected?
No. The advisory describes one replacement-string path across SQL connectors and a separate backslash path specific to MySQL and MariaDB.
Which Chartbrew version fixes CVE-2026-54349?
The Chartbrew advisory names 5.2.1 as the patched version. Administrators should verify that 5.2.1 or later is running after deployment.
Does the Blackhole count prove active exploitation?
No. Brandefense Blackhole counted two posts mentioning the CVE from 21 August through 19 November 2026; a mention is not an observed attack.
Sources
- Chartbrew SQL Injection Advisory GHSA-4wj7-9gq7-mrr2Chartbrew on GitHub
- CVE-2026-54349 RecordCVE Program
- Known Exploited Vulnerabilities CatalogCISA