CVE-2026-114621: baserCMS: SQL injection in the admin panel and admin API
baserCMS is a website development framework. In versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2, list and detail actions in the Admin and Api/Admin prefixes pass request query parameters, including contain, conditions, fields, finder, and order, directly to the ORM as options. A user able to log into the admin panel can embed SQL fragments in those options to execute arbitrary SQL against the application's database, including reading password hashes from the users table. Public-page and public-API fixes released in 5.3.1 and 5.4.1 did not protect these administrative paths. Setting USECOREADMINAPI to false does not prevent access through an authenticated browser session. This issue has been patched in versions 5.3.2 and 5.4.2.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
baserCMSto a version that resolves this vulnerability.Fixed in 5.3.2 - Upgrade
Upgrade
baserCMSto a version that resolves this vulnerability.Fixed in 5.4.2
Event History
Frequently Asked Questions
Which deployments are affected?
baserCMS versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2 are affected. The issue is in administrative Admin and Api/Admin list and detail actions; fixes for public pages and public APIs in 5.3.1 and 5.4.1 did not address these paths.
What access does an attacker need to exploit this?
An attacker needs credentials that allow them to log in to the admin panel. They can then supply SQL fragments through query options such as contain, conditions, fields, finder, or order.
Does disabling the core Admin API mitigate the issue?
No. Setting USE_CORE_ADMIN_API to false does not prevent exploitation through an authenticated browser session in the admin panel.
What is the remediation?
Upgrade to baserCMS 5.3.2 or 5.4.2, depending on the release branch in use.