Patchfirst
CVE-2026-54349 Critical · 9.8 EPSS 0.7%

Chartbrew SQL injection in dashboard filter substitution

No fixed version listed yet.Check the vendor advisory. References ↓

chartbrew · chartbrew

Summary

Chartbrew, an open-source web application that charts data from connected databases and APIs, contains an SQL injection flaw in its dashboard-variable substitution logic (prior to 5.2.1), affecting SQL connectors and, for MySQL and MariaDB, quoted-string handling. An unauthenticated attacker who can reach a public or embedded chart backed by a stored SQL query can exploit it by supplying crafted URL filter values, with no user interaction required, to read, modify, or delete data accessible to the configured database account.

Official description · NVD

Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to 5.2.1, SQL dashboard-variable substitution used attacker-controlled JavaScript replacement strings unsafely across SQL connectors and separately failed to escape backslashes for MySQL and MariaDB quoted contexts. The vulnerable surface is public and embedded dashboard/chart requests that call applyMysqlOrPostgresVariables. An unauthenticated user sends crafted URL filter values to a public or embedded chart backed by a stored SQL query. Replacement-string dollar sequences can alter SQL independently of the database engine, while MySQL and MariaDB backslash handling provides a second quoted-string escape path. The target must expose a public or embedded chart using URL-controlled variables in a SQL query; only the backslash branch is specific to MySQL and MariaDB. Injected SQL can read, modify, or delete data available to the configured database account. This issue is fixed in version 5.2.1.

Breakdown
19.5 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 6 Nov 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

chartbrew chartbrew

Affected: < 5.2.1

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag (1 duplicate merged)
↑ ↓ chooseEnter openEsc close