llamaCVEVulnerability Intelligence
/
Chartbrew

CVE-2026-54349

Chartbrew SQL injection in dashboard filter substitution

Unauthenticated attackers can read, change, or delete data via crafted filter values in public or embedded charts.

UnclearParche disponibleSQL injection
Descargar PNG JSON
CVSS 3.1
9.8
Crítica
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión5.2.1
Exposición12 dDesde la divulgación, 6 nov 2026, 4:04 p. m.
Detección13 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: OSV
Verificada
6 nov 26
9 nov 26
16 nov 26
19 nov 26
6 nov 26
10 nov 26
13 nov 26
16 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-54349 divulgada · CVSS 9.8 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 6 nov 2026

Chartbrew, an open-source tool for building charts from databases and APIs, is affected by an SQL injection flaw in how dashboard filter values are inserted into queries. A remote attacker without logging in can send crafted URL filter values to a public or embedded chart backed by a stored SQL query, and read, modify, or delete data available to the configured database account; the flaw requires the target to expose such a chart.

¿Qué significa?Chartbrew fills a chart's stored SQL query with values taken from URL parameters, and the substitution does not escape them properly. A crafted URL parameter can therefore change the SQL that runs against the connected database, which can read, modify, or delete data depending on the database user's privileges.
¿Quién está afectado?Chartbrew versions before 5.2.1 are in scope. The issue needs a chart that is public or embedded, since the share and embed routes skip authentication, and a stored query that uses dashboard variables filled from URL parameters. The backslash escape path applies only to MySQL or MariaDB connections, while the dollar-sequence replacement issue applies to all SQL connectors. To check, look at the Chartbrew version in use and whether the chart is shared or embedded and uses dashboard variables in its query.
¿Qué hacer?Upgrade Chartbrew to 5.2.1 or later, which is the listed fixed version.
Descripción original del registro (GitHub_M)

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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Chart is public or embedded, reachable via the share/embed routes without authentication“Every other chart route uses verifyToken; these two do not.”
02
The chart's stored SQL query uses dashboard variables filled from URL parameters“copies EVERY URL param into a variable”
03
The backslash escape path applies to MySQL or MariaDB connections“on MySQL/MariaDB a quoted context is broken out with”
04
The dollar-sequence replacement issue applies to all SQL connectors“Applies to all SQL connectors (MySQL/Postgres/…).”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
chartbrew< 5.2.1
5.2.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
chartbrew
Corregida 5.2.1 — —
Versiones corregidas5.2.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/chartbrew/chartbrew/security/advisories/GHSA-4wj7-9gq7-mrr2
Otrahttps://github.com/chartbrew/chartbrew/commit/f93d31ac586091f72a7eb97d89fa3b4db271bd24
Otrahttps://github.com/chartbrew/chartbrew/releases/tag/v5.2.1

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.