sadrobot

← Back to the monthly list

CVE-2026-54349 chartbrew · chartbrew

9.8 Critical

AI summary

Chartbrew before 5.2.1 unsafely substitutes dashboard variables into SQL, enabling SQL injection via public or embedded charts using URL-controlled variables. A remote unauthenticated attacker can read, modify, or delete data accessible to the configured database account. Critical (CVSS 9.8); fixed in 5.2.1.

Official description

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.

Published
2026-11-06 21:17 UTC
Modified
2026-11-09 14:17 UTC
CVSS
9.8 Critical CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.79% (percentile 53)
ENISA EUVD
EUVD-2026-118501
CISA SSVC
Exploitation: poc · Automatable: yes · Technical impact: total
CWE
CWE-89

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

References