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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-65980— Chartbrew: SQL Injection via Missing Backslash Escaping in ClickHouse Variable Substitution

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.3, Chartbrew's ClickHouse protocol in server/sources/plugins/clickhouse/clickhouse.protocol.js calls applySqlVariables()

CVSS 7.9 · High EPSS 0.37% · P31

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

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: SQL Injection via Missing Backslash Escaping in ClickHouse Variable Substitution
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.3, Chartbrew's ClickHouse protocol in server/sources/plugins/clickhouse/clickhouse.protocol.js calls applySqlVariables() from server/sources/shared/sql/sql.variables.js without enabling the escapeBackslash option. For a ClickHouse-backed chart with variable binding, an attacker can supply a backslash before a quote so quote doubling does not keep the value within its intended SQL string literal. Public dashboards can expose this path without authentication, and successful exploitation can execute arbitrary ClickHouse SQL to disclose data or, when the database configuration permits, access files or internal network resources. This issue is fixed in version 5.2.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
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-65980

# 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-65980

登录查看更多情报信息。

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

Other References for CVE-2026-65980 (2)

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

CVE-2026-61851 6.5 MEDIUM Chartbrew: Incomplete Read-Only Keyword Blocklist in AI runQuery Tool
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-65980

No comments yet


Leave a comment