Read the docs
TI-2026-86139 Aliases CVE-2026-69128

Blocklist bypass in Chartbrew AI SQL tool allows arbitrary file read

Priority LOW 21CWE-184Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Chartbrew from 5.2.2 before 5.2.3 has an incomplete SQL blocklist in its AI query tool for PostgreSQL, which omits sibling file functions and misses double-quoted function names (CWE-184). A team Owner or Admin with AI features enabled can use this to read server files through a database role that can call such functions, where superusers and pg_read_server_files members can read absolute paths and other roles are limited to PGDATA-relative paths (CWE-22).

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. In 5.2.2, the AI SQL blocklist omitted sibling PostgreSQL filesystem functions and failed to match double-quoted identifier forms of denied functions. The vulnerable surface is the AI query tool's PostgreSQL SQL-validation blocklist. A team Owner or Admin uses an AI-enabled PostgreSQL connection whose database role can call server-side file functions and causes generated SQL to use an unlisted sibling function or a double-quoted denied function. Unlisted sibling functions remain allowed, and double-quoted function identifiers bypass the denylist regular expressions and reach PostgreSQL. AI features must be enabled and the user must have elevated Chartbrew privileges. A PostgreSQL superuser or pg_read_server_files role can resolve absolute paths to files readable by the PostgreSQL OS user, while a non-superuser is limited to the source-stated PGDATA-relative scope. This vulnerability is fixed in 5.2.3.

Why it matters now

EPSS 0.00356 29th percentileScored 2026-11-07
Fix Fixed chartbrew (chartbrew): 5.2.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
chartbrewchartbrew5.2.2 to before 5.2.35.2.3Patch availableCNA
  • chartbrew Vendorchartbrew Affected 5.2.2 to before 5.2.3 Fixed in 5.2.3 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:depomo:chartbrew:*:*:*:*:*:*:*:*——chartbrew
  • cpe:2.3:a:depomo:chartbrew:*:*:*:*:*:*:*:* Versions — — ·chartbrew

Remediation

Upgrade Chartbrew to version 5.2.3, which fixes this flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

  • Fix · CNA chartbrew (chartbrew) Fixed in 5.2.3

Timeline

  1. 2026-11-06 Threatist record created from CVE-2026-69128

References

  • TI-2026-46993 Chartbrew: SQL Injection via Missing Backslash Escaping in ClickHouse Variable Substitution CVSS 4.0HIGH 7.9
  • TI-2026-29337 Chartbrew: Missing Authorization in /api/chart/:chart_id/query via team-level refresh toggle CVSS 3.1HIGH 7.5
  • TI-2026-29331 Chartbrew: Incorrect Access Control in public chart and export routes via missing onReport and SharePolicy checks CVSS 3.1HIGH 7.5
  • TI-2026-29560 Chartbrew: Incorrect Access Control in dataset and dataRequest routes via team-scoped permission checks CVSS 3.1HIGH 8.1
  • TI-2026-29336 Chartbrew: Incorrect Access Control in project share policy routes via unbound policy_id CVSS 3.1HIGH 8.1
  • TI-2026-24781 Chartbrew Cross-Tenant Template Export and Secret Disclosure in `GET /team/:team_id/template/generate/:project_id` CVSS 3.1HIGH 7.7
See all 29 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences