Vulnerability

CVE-2026-54349

criticalCVSS 3.1 9.8Published 6 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /chartbrew/chartbrew/commit/f93d31ac586091f72a7eb97d89fa3b4…
  • github.com /chartbrew/chartbrew/releases/tag/v5.2.1
  • github.com /chartbrew/chartbrew/security/advisories/GHSA-4wj7-9gq7-mrr2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning