HighVulnerability
CVE-2026-61851: Chartbrew runQuery read-only enforcement bypass via incomplete keyword blocklist
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-61851
- Published
- Record updated
Summary
Chartbrew's runQuery() in server/modules/ai/orchestrator/tools/runQuery.js, prior to 5.2.2, attempts to enforce read-only database access with a blocklist of only seven SQL keywords. An authenticated user with AI feature access can run dangerous statements or database functions missing from that blocklist, with no SQL injection needed. Depending on the database engine, configuration and user privileges, this can expose or write files, reach internal network resources, change privileges, execute commands or alter data.
Mitigation
Fixed in 5.2.2.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online