{"id":"CVE-2026-76635","summary":"baserCMS \u003c 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php","details":"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.","aliases":["GHSA-cg65-f2m7-9fqj"],"modified":"2026-08-22T03:49:48.341112668Z","published":"2026-08-20T13:58:05.913Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-89","CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76635.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76635.json"},{"type":"ADVISORY","url":"https://github.com/baserproject/basercms/releases/tag/5.3.0"},{"type":"ADVISORY","url":"https://github.com/baserproject/basercms/security/advisories/GHSA-cg65-f2m7-9fqj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76635"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/basercms-sql-injection-and-code-injection-via-bcdatabaseservice-php"},{"type":"PACKAGE","url":"https://github.com/baserproject/basercms"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/baserproject/basercms","events":[{"introduced":"0"},{"fixed":"ef5ee92e5a2952e46874f12afbfee12f98f933bb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.3.0"}],"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"]}}],"versions":["5.1.6","5.1.5","5.1.4","5.1.3","5.1.1","5.0.0-beta4","5.0.0-beta3","5.0.0-beta2","5.0.0-beta1","4.7.5","4.7.3","4.7.2","4.7.0","4.6.2","4.6.1.1","4.6.1","4.6.0","4.5.2","4.5.1","4.5.0","4.4.8","4.4.6","4.4.4","4.4.3","4.4.1.1","4.4.2.1","4.4.0","4.3.7.1","4.3.7","4.3.6","4.3.5","4.3.3","4.3.0","4.2.4","4.2.2","4.1.2","4.1.1","4.1.0.1","4.1.0","4.0.7","4.0.6","4.0.0","3.0.7","3.0.0","basercms-3.0.1","3.0.1","3.0.2","3.0.4","3.0.5.1","3.0.3","4.0.0-beta","3.0.6","3.0.6-beta","3.0.5","basercms-3.0.0","basercms-2.1.2","2.1.2","basercms-2.1.0","2.1.0","basercms-2.0.3","2.0.3","basercms-2.0.2","2.0.2","basercms-2.0.1","2.0.1","basercms-2.0.0","2.0.0","basercms-2.0.0-beta","2.0.0-beta"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76635.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}