CVE-2026-76635
published high CVSS 4.0 · 8.6baserCMS < 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| baserproject | — | basercms0 to < 5.3.0 · Other versions: affected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| baserproject | basercms | 0 to < 5.3.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
2- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- baserCMS 5.3.0 Release Notes https://github.com/baserproject/basercms/releases/tag/5.3.0
- GitHub Security Advisory (GHSA-cg65-f2m7-9fqj) 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
Provider assertions
2VulnCheck · cna
baserCMS < 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e82195ad9d972c20d681029b2be7716cbef652b5ab262d58e4cace98f087a76
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record