Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2026-54349: Chartbrew lets attackers run SQL through public charts
CVE-2026-54349 · published 13 days ago
Summary
Chartbrew versions before 5.2.1 let anyone craft a URL that changes the SQL query used for a public or embedded chart. By inserting special characters, an attacker can read, change or delete data that the chart’s database account can access. Upgrade to version 5.2.1 or later to stop this behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| chartbrew | chartbrew | < 5.2.1 |
Original advisory text
Chartbrew SQL injection in dashboard filter substitution
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.
References
- https://github.com/chartbrew/chartbrew/security/advisories/GHSA-4wj7-9gq7-mrr2 Vendor Advisory
- https://github.com/chartbrew/chartbrew/commit/f93d31ac586091f72a7eb97d89fa3b4db2... Patch
- https://github.com/chartbrew/chartbrew/releases/tag/v5.2.1 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54349... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-54349 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-89SQL Injection
Timeline
Published6 Nov 2026
Updated19 Nov 2026
First seen6 Nov 2026
Track software like this
Free during beta