CVE-2026-69128

Source
https://cve.org/CVERecord?id=CVE-2026-69128
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-69128.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-69128
Aliases
  • GHSA-jw2r-hrxg-cfgc
Published
2026-11-06T21:17:12Z
Modified
2026-11-11T02:30:30Z
Severity
  • 4.6 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N CVSS Calculator
Summary
Chartbrew: AI orchestrator run_query SQL blocklist bypass enables arbitrary file read on connected PostgreSQL (quoted-identifier + pg_stat_file/pg_ls_* sibling gap)
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-184",
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69128.json"
}
References

Affected packages

Git / github.com/chartbrew/chartbrew

Affected ranges

Type
GIT
Repo
https://github.com/chartbrew/chartbrew
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.2.2"
                },
                {
                    "fixed":  "5.2.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "b83f656a8757beccba461f0f6c5abb1a25dc3b4c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v5.2.3",
            "range":  [
                {
                    "fixed":  "abfa887408aeedfb5ed8f39f81557db72c49a1c4"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v5.*
v5.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-69128.json"