CVE-2026-54349chartbrew
Unauthenticated SQL Injection in Chartbrew Variable Substitution
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 6, 2026
- Updated
- Nov 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Chartbrew prior to version 5.2.1 is vulnerable to SQL injection through unsafe variable substitution in SQL queries. An unauthenticated attacker can send crafted URL filter values to public or embedded charts to execute arbitrary SQL. The vulnerability particularly affects MySQL and MariaDB due to improper backslash handling. An attacker could read, modify, or delete data available to the configured database account.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 5.2.1
Update Chartbrew to version 5.2.1 or later to apply the security patch.
Vendor advisory · github.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for chartbrew.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- chartbrew · chartbrew
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.