Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-61851— Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool

Quick assessment

Affected
chartbrew chartbrew
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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-on

CVSS 6.5 · Medium EPSS 0.27% · P19

Affected Version Matrix 1

VendorProduct Version RangeStatus
chartbrew chartbrew < 5.2.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61851

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不完整的黑名单
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
chartbrew chartbrew < 5.2.2 -

II. Public POCs for CVE-2026-61851

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61851

登录查看更多情报信息。

Patches & Fixes for CVE-2026-61851 (1)

Other References for CVE-2026-61851 (2)

Same Patch Batch · chartbrew · 2026-09-21 · 4 CVEs total

CVE-2026-65980 7.9 HIGH Chartbrew: SQL Injection via Missing Backslash Escaping in ClickHouse Variable Substitutio
CVE-2026-61743 6.3 MEDIUM Chartbrew: DNS Rebinding SSRF Bypass in Outbound Request Validation
CVE-2026-61852 5.8 MEDIUM Chartbrew: SQL Injection via row_limit Parameter in AI runQuery Tool

IV. Related Vulnerabilities

V. Comments for CVE-2026-61851

No comments yet


Leave a comment