What’s Vulnerable › Vulnerabilities
CVE-2026-76635: baserCMS < 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-20 · updated 2026-10-18
- Weakness: CWE-89
Description
baserCMS before 5.3.0 contains a SQL injection vulnerability in BcDatabaseService.php that allows authenticated administrators to inject attacker-controlled table names and configuration values directly into SQL statements across sequence update, CSV export, and table management operations. Attackers can chain a backup restore code injection flaw, where PHP code outside class definitions in schema files executes unconditionally upon loading, to plant malicious table names and trigger error-based SQL injection that retrieves database version, schema contents, and arbitrary data from the PostgreSQL backend.
Affected products
- baserproject basercms: before 5.3.0 — fixed in 5.3.0
How to fix
Upgrade to a fixed version: baserproject basercms 5.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/baserproject/basercms/releases/tag/5.3.0
- https://github.com/baserproject/basercms/security/advisories/GHSA-cg65-f2m7-9fqj
- https://www.vulncheck.com/advisories/basercms-sql-injection-and-code-injection-via-bcdatabaseservice-php
- https://github.com/baserproject/basercms/security/advisories/GHSA-cg65-f2m7-9fqj
Get alerted when CVE-2026-76635 or the next vulnerability affects your stack