---
id: CVE-2026-76635
title: baserCMS < 5.3.0 SQL Injection and Code Injection via BcDatabaseService.php
summary: >-
  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 sequenc…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-89
  - CWE-94
vendor: baserproject
product: basercms
affected:
  - basercms < 5.3.0
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-08-25T14:38:35.215463Z'
exploitAvailable: true
published: '2026-08-20'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T15:21:10.419Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-76635'
references:
  - url: >-
      https://github.com/baserproject/basercms/security/advisories/GHSA-cg65-f2m7-9fqj
    label: GitHub Security Advisory (GHSA-cg65-f2m7-9fqj)
  - url: 'https://github.com/baserproject/basercms/releases/tag/5.3.0'
    label: baserCMS 5.3.0 Release Notes
  - url: >-
      https://www.vulncheck.com/advisories/basercms-sql-injection-and-code-injection-via-bcdatabaseservice-php
tags:
  - cve.org
  - exploit-available
epss: 0.00504
epssPercentile: 0.40808
ingestedAt: '2026-10-01T15:48:17.846Z'
---

## Overview

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

- `basercms < 5.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
