[ CVE-2026-54349 · Published 6 Nov 2026 ]

Vulnerability in chartbrew

CVSS 9.8 EPSS <1% Fixed version listed

[ Why it matters ]Priority signals

  • Public proof-of-concept exploit exists (CISA SSVC)
  • Critical severity: CVSS 9.8

[ Description ]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.

[ Fixes ]How to fix it

Fixed versions

  • chartbrew: upgrade to 5.2.1 or laterEarlier versions are listed as affected

From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.

Vendor advisories and patches

Until you can patch: our advice

  1. Block SQL injection at the edge. Put a web application firewall rule in front of the application to block SQL injection, and make sure its database account has only the rights it needs.
  2. Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.