Chartbrew: AI orchestrator run_query SQL blocklist bypass enables arbitrary file read on connected PostgreSQL (quoted-identifier + pg_stat_file/pg_ls_* sibling gap)
CVE-2026-69128Published 6 Nov 2026, 21:17 UTC
Real-world risk
0.3/ 10Low
Routine
If the vulnerable configuration applies to you: 0.6
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| chartbrewCommon | >= 5.2.2, < 5.2.3 | 5.2.3 |
What to do
Update to a fixed version: 5.2.3.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 45), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.090
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.09 × threat 0.950.257
- Rounded to one decimal between 0.1 and 100.3
Exploitation and evidence timeline
- 6 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.3 (cvss fallback)
Weakness
CWE-22, CWE-184