Skip to main content

baserCMS EUVDEUVD-2026-63365

| CVE-2026-76635 HIGH
SQL Injection (CWE-89)
2026-08-20 disclosure@vulncheck.com GHSA-p3p6-469g-p4j2
8.6
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain baserCMS admin credentials
  2. Delivery
    Access backup restore functionality
  3. Exploit
    Upload schema file with PHP code outside class definitions
  4. Execution
    PHP executes on schema load, planting malicious table name
  5. Persist
    Trigger sequence update, CSV export, or table management operation
  6. Impact
    Error-based SQL injection leaks database version, schema, and sensitive data from PostgreSQL

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid baserCMS administrator account - confirmed by the CVSS 4.0 PR:H metric. The attacker must have access to the baserCMS administrative panel and specifically to the backup restore functionality (to inject PHP into schema files) and to at least one of the affected database management operations (sequence update, CSV export, or table management). The backup restore step requires the ability to upload or supply schema files, which is an administrator-only capability. Limiting factors: (1) administrator-level credentials are mandatory - this is not exploitable by lower-privilege users or unauthenticated actors; (2) the technique is described for a PostgreSQL backend specifically, using error-based exfiltration; behavior against MySQL or SQLite backends is not confirmed; (3) the chained attack requires two sequential steps (schema file injection followed by SQL injection trigger), increasing execution complexity compared to a single-step exploit; (4) the admin panel must be network-accessible to the attacker, though this is satisfied by default for most internet-facing deployments.

Impact

The CVSS 4.0 score of 8.6 with PR:H accurately reflects the high privilege requirement - exploitation is gated behind authenticated administrator access, which is the primary limiting factor. Despite the network attack vector (AV:N), the realistic attacker population is constrained to compromised admin credentials or insider threats rather than anonymous remote actors. No EPSS score was provided; without it, relative exploitation probability versus other vulnerabilities cannot be quantified. The vulnerability is not in CISA KEV, and no public exploit code has been identified at time of analysis - however, the chained technique is described in sufficient detail in the VulnCheck advisory to lower the barrier for technically capable actors. The chained nature of the attack (code injection prerequisite before SQL injection trigger) adds real-world complexity beyond what AC:L in the CVSS vector suggests: two distinct exploit steps must succeed sequentially. Confidentiality, integrity, and availability are all rated High in the CVSS 4.0 vector, reflecting full database read/write access as the worst-case outcome. Organizations should prioritize patching if their baserCMS admin panel is exposed to the internet or if they operate multi-tenant environments where different users hold admin roles.

Exploit ScenarioDerived

An attacker who has obtained baserCMS administrator credentials - through phishing, credential stuffing, or insider access - navigates to the backup restore functionality and uploads a crafted schema file containing PHP code outside class definitions; upon loading, this code executes unconditionally and plants an attacker-controlled table name into the CMS configuration. The attacker then triggers a database management operation (such as a sequence update or CSV export) that passes the poisoned table name unsanitized into a SQL query in BcDatabaseService.php, causing the PostgreSQL backend to return verbose error messages containing leaked database version strings, schema details, and sensitive table contents. No public exploit code has been identified, but the VulnCheck advisory provides sufficient technical specificity to make independent reproduction feasible for skilled actors.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

SQL injection and chained code injection in baserCMS before 5.3.0 allow authenticated administrators to exfiltrate arbitrary data from a PostgreSQL backend via BcDatabaseService.php. The attack chains two flaws: a backup restore mechanism that unconditionally executes PHP code outside class definitions in schema files upon loading, enabling an admin to plant malicious table names, which are then passed unsanitized into SQL statements across sequence update, CSV export, and table management operations. Error-based SQL injection against the PostgreSQL backend can then retrieve database version, schema contents, and sensitive application data. No public exploit has been identified and this CVE is not in CISA KEV, but the VulnCheck advisory provides sufficient technical detail to guide exploitation by motivated actors.

RemediationAI

Upgrade baserCMS to version 5.3.0 or later, which is the vendor-confirmed patch for this vulnerability, available at https://github.com/baserproject/basercms/releases/tag/5.3.0. The official security advisory is published at https://github.com/baserproject/basercms/security/advisories/GHSA-cg65-f2m7-9fqj. For sites that cannot immediately upgrade, the following compensating controls reduce exposure but do not eliminate risk: restrict access to the baserCMS admin panel (/admin) at the web server or firewall layer to known IP ranges, reducing the reachable attacker population; disable or restrict access to the backup restore, CSV export, and database management features within the admin panel if these are not operationally required, as these are the primary attack surfaces; audit schema files in the backup directory for unexpected PHP code outside class definitions as an indicator of prior exploitation. Note that workarounds are not equivalent to patching, as the root cause (unsanitized SQL construction in BcDatabaseService.php) remains present; upgrading to 5.3.0 is the definitive remediation.

Affected VersionsENISA

basercms 0 <5.3.0

Affected Packages

euvd basercms fix: 5.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

baserCMS is a Japanese open-source PHP content management system built on the CakePHP framework and targeting PostgreSQL as its database backend. The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements in SQL Commands): BcDatabaseService.php accepts attacker-controlled table names and configuration values and concatenates them directly into SQL statements without parameterization or escaping, across at least three distinct code paths - sequence updates, CSV exports, and table management operations. A secondary code injection vector compounds this: the backup restore subsystem loads PHP schema files and executes any PHP code residing outside class definitions unconditionally at load time, bypassing any class-scoped sandboxing. An attacker who controls schema file content can use this to pre-stage malicious table names that feed the SQL injection. The PostgreSQL specificity is significant: the exploitation technique relies on error-based SQL injection, a method that leverages verbose PostgreSQL error messages to leak data, and may not be directly portable to other RDBMS backends.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.6 HIGH
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
vuln.today AI 7.2 HIGH

Admin credentials mandatory (PR:H); network-accessible panel (AV:N); no scope change as impact is confined to the application's own database (S:U).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 15:16 EUVD
CVE Published
Aug 20, 2026 - 14:17 cve.org
HIGH 8.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

baserCMS versions before 5.3.0 contain a chained SQL injection and code execution vulnerability requiring administrative authentication that enables unauthorized exfiltration of sensitive data from PostgreSQL backends. Organizations using affected versions face risk of complete database compromise through malicious backup restore operations and unsanitized SQL statements. Database confidentiality is severely threatened until a patch is released.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: require multi-factor authentication for all administrative accounts; restrict administrative console access to known trusted networks using network segmentation; implement comprehensive SQL query logging and real-time alerting for suspicious query patterns; disable backup/restore functionality if not actively required for operations; isolate PostgreSQL database from untrusted network segments; enable and actively monitor PostgreSQL error logs for error-based injection attempts; conduct monthly audits of administrative actions and database access logs to detect unauthorized activity.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
Japanese-market PHP CMS with limited global enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy