CVE-2026-61851
published medium CVSS 4.0 · 6.5Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| chartbrew | — | chartbrew< 5.2.2 | Affected | Not stated | GitHub_M |
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.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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| chartbrew | chartbrew | < 5.2.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-184 CWE-184: Incomplete List of Disallowed Inputs
References
3Provider assertions
2GitHub_M · cna
Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 093ded365b8923d183df1d08e9f949442758d84d1de15d51a4cbcfb0faca8c23
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record