HighVulnerabilityLLM-specific
CVE-2026-61852: Chartbrew SQL injection through AI tool row_limit parameter in runQuery
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-61852
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
Chartbrew, an open-source web app that connects to databases and APIs to build charts, is affected before version 5.2.2. Its runQuery() function in server/modules/ai/orchestrator/tools/runQuery.js inserts the AI tool's row_limit parameter into a SQL LIMIT clause without integer validation, and the read-only keyword check runs before that insertion. An authenticated user who can influence a model-generated non-integer row_limit can append SQL that bypasses the check and run arbitrary statements against the connected database.
Mitigation
Fixed in version 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