{"id":"CVE-2026-61851","published":"2026-09-21T21:40:53Z","modified":"2026-09-22T15:38:35Z","title":"Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool","vendor":"chartbrew","product":"chartbrew","tier":"tail","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.2, Chartbrew's runQuery() implementation in server/modules/ai/orchestrator/tools/runQuery.js attempts to enforce read-only database access with a blocklist containing only seven SQL keywords. An authenticated user with AI feature access can submit dangerous statements or database functions that are absent from the read-only keyword blocklist, causing them to execute without SQL injection or keyword-obfuscation techniques. Depending on the database engine, configuration, and database-user privileges, this can expose or write files, access internal network resources, change database privileges, execute commands, or alter data. This issue is fixed in version 5.2.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00471,"percentile":0.41598,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-cp8j-2xwc-hxg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chartbrew/chartbrew/commit/8c8412edce56093e81b524e0235a796c7dd42336","tags":["x_refsource_MISC"]},{"url":"https://github.com/chartbrew/chartbrew/releases/tag/v5.2.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.32},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"chartbrew","affectedVersions":[{"vendor":"chartbrew","product":"chartbrew","versions":["< 5.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-22T14:12:09.684795Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84213","exploited":false,"provenance":"source"}}