SQL Injection in Chartbrew Web Application by Chartbrew
CVE-2026-61852
5.8MEDIUM
What is CVE-2026-61852?
Chartbrew, an open-source web application designed to create charts from databases and APIs, contains a vulnerability in versions before 5.2.2. The issue lies in the runQuery() function, where the row_limit parameter is integrated into a SQL LIMIT clause without necessary validation checks on input types. This oversight allows authenticated users to manipulate the input and execute arbitrary SQL queries on the connected database. Such manipulations can lead to unauthorized data access, modification, and even the execution of OS commands if the database permissions allow it. Users are encouraged to upgrade to version 5.2.2 or later to mitigate this risk.
Affected Version(s)
chartbrew < 5.2.2
