{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-61851","published":"2026-09-21T22:16:58Z","last_modified":"2026-09-24T21:25:27.050000Z","status":"Deferred","cvss":{"version":"4.0","score":6.5,"severity":"MEDIUM","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-184"],"cpes":[],"cpes_truncated":false,"vendors":["chartbrew"],"products":["chartbrew/chartbrew"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-61851/","html_en":"/en/cve/CVE-2026-61851/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-61851","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-61851"},"untrusted":{"vendor_name":"chartbrew","product_name":"chartbrew","desc_en":"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.","affected":[{"untrusted_vendor":"chartbrew","untrusted_product":"chartbrew","versions":[]}],"references":[{"url":"https://github.com/chartbrew/chartbrew/commit/8c8412edce56093e81b524e0235a796c7dd42336","tags":[]},{"url":"https://github.com/chartbrew/chartbrew/releases/tag/v5.2.2","tags":[]},{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-cp8j-2xwc-hxg8","tags":[]}]}}