Skip to main content
← Vulnerabilities

Chartbrew: AI orchestrator run_query SQL blocklist bypass enables arbitrary file read on connected PostgreSQL (quoted-identifier +…

4.6MediumCNA
Exploited
No known exploitation
Fix
Fixed in 5.2.3
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 5.2.3.

Published
Last modified
8/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

Chartbrew, an open-source web app for building charts from databases and APIs, has a flaw in its AI query tool's PostgreSQL SQL blocklist that lets a team Owner or Admin read arbitrary files from the database server's filesystem when AI features are enabled and the database role has server-side file-function access. The attack is carried out over the network but requires the attacker to be logged in with elevated Chartbrew privileges.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original description

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.

cve.now Index

8Pcve.now Index 8 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure3/25Reachable over the network · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity4.6/10CVSS 4.6
  • No patch0/5No signal

What would change the score

  • Would score about 63 if added to CISA KEV
  • Would score about 58 if CISA's SSVC rates exploitation active
  • Would score about 27 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 5.2.3.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • chartbrew chartbrew

    From 5.2.2 · fixed in 5.2.3

Evidence 3

  1. Advisory
  2. Repository
  3. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-69128

Is CVE-2026-69128 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-69128?

chartbrew: from 5.2.2 before 5.2.3.Source: cve.now feed data

How do I fix CVE-2026-69128?

Upgrade to a fixed version: 5.2.3.Source: cve.now feed data