{"id":"CVE-2026-54349","published":"2026-11-06T21:17:08Z","modified":"2026-11-09T14:17:21Z","title":"Chartbrew SQL injection in dashboard filter substitution","vendor":"chartbrew","product":"chartbrew","tier":"core","eol":null,"affectedVersions":[{"vendor":"chartbrew","product":"chartbrew","versions":["< 5.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-09T13:26:02.804102Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Deferred","description":{"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.","provenance":"source","from":"NVD"},"summary":{"text":"Chartbrew, an open-source web application that charts data from connected databases and APIs, contains an SQL injection flaw in its dashboard-variable substitution logic (prior to 5.2.1), affecting SQL connectors and, for MySQL and MariaDB, quoted-string handling. An unauthenticated attacker who can reach a public or embedded chart backed by a stored SQL query can exploit it by supplying crafted URL filter values, with no user interaction required, to read, modify, or delete data accessible to the configured database account.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:47:43Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00658,"percentile":0.52437,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 15, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af87576edc653ae620f3d8a","created":"2026-11-14"},{"name":"Known_Cve | Nov 14, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af723e424844852555c4c67","created":"2026-11-13"},{"name":"Known_Cve | Nov 13, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af5d2be148718a0cc0eeceb","created":"2026-11-12"},{"name":"Known_Cve | Nov 12, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af4817ce56186812bf7ac16","created":"2026-11-11"},{"name":"Known_Cve | Nov 11, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6af32fa1e2a2e6e4c806be21","created":"2026-11-10"},{"name":"Known_Cve | Nov 10, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6af1de4ef5d71db2f5f24f0f","created":"2026-11-09"},{"name":"Known_Cve | Nov 9, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6af08d7e03e6c0b005a63bc1","created":"2026-11-08"},{"name":"Known_Cve | Nov 8, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aef3b08215ae92464b191d3","created":"2026-11-07"}],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/chartbrew/chartbrew/commit/f93d31ac586091f72a7eb97d89fa3b4db271bd24","tags":["x_refsource_MISC"]},{"url":"https://github.com/chartbrew/chartbrew/releases/tag/v5.2.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-4wj7-9gq7-mrr2","tags":[]},{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-4wj7-9gq7-mrr2","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-118501","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-118501","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-06","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54349","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.5,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.49,"detail":"percentile 0.5244"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}