Skip to main content

Basercms CVE-2026-30877

| EUVDEUVD-2026-17259 CRITICAL
OS Command Injection (CWE-78)
2026-03-31 GitHub_M GHSA-m9g7-rgfc-jcm7
9.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as baserCMS administrator
  2. Delivery
    Access update functionality
  3. Exploit
    Inject OS commands in update parameters
  4. Execution
    Execute arbitrary commands as baserCMS process user
  5. Impact
    Compromise server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Attacker must have authenticated administrator privileges in baserCMS versions prior to 5.2.3. Remote exploitation via the update functionality to execute arbitrary OS commands with baserCMS process privileges.

Impact

Real-world risk is moderate despite the critical 9.1 CVSS score. The CVSS vector reveals important constraints: network-accessible (AV:N) with low attack complexity (AC:L), but requires high privileges (PR:H) meaning administrator authentication is mandatory. The changed scope (S:C) elevates the score as command execution can impact resources beyond the application itself. No public exploit identified at time of analysis and no CISA KEV listing indicates this is not currently being actively exploited in the wild. The primary attack scenario requires either compromised administrator credentials or a malicious insider with legitimate admin access. Organizations should prioritize this based on their administrator account security posture and whether baserCMS instances are exposed to untrusted administrators. The low attack complexity means exploitation is straightforward once admin access is achieved, making this a priority for patching in environments where administrator accounts might be compromised through phishing, credential stuffing, or social engineering. Without EPSS data, historical exploitation probability cannot be quantified, but the prerequisite of admin access significantly reduces the attack surface compared to unauthenticated vulnerabilities.

Exploit ScenarioDerived

An attacker who has compromised administrator credentials through phishing or credential theft authenticates to the baserCMS administrative interface. They navigate to the update functionality and inject malicious OS commands into input fields processed during the update operation, such as crafting payloads containing command separators like semicolons or backticks. Due to insufficient input validation, the injected commands execute on the server with the privileges of the web application user, potentially allowing the attacker to read sensitive files, establish persistent backdoors, pivot to other systems on the network, or exfiltrate database contents. The low attack complexity means no special conditions or race conditions are required once authenticated access is established.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 31, 2026

OS command injection in baserCMS update functionality allows authenticated administrators to execute arbitrary commands on the server with application privileges. Affects baserCMS versions prior to 5.2.3. Vendor-released patch available in version 5.2.3. CVSS 9.1 reflects high impact with changed scope, though exploitation requires high-privilege administrator access (PR:H). No public exploit identified at time of analysis. EPSS data not provided, but attack complexity is low (AC:L) once admin credentials are obtained.

RemediationAI

Upgrade baserCMS to version 5.2.3 immediately, which contains the vendor-released patch addressing this command injection vulnerability. The patched release is available at https://github.com/baserproject/basercms/releases/tag/5.2.3. Administrators should review access logs for suspicious update operations performed by administrator accounts prior to patching. As a defense-in-depth measure, implement the principle of least privilege by limiting the number of users with administrator-level access and enabling multi-factor authentication for all administrative accounts. Review and audit administrator account activity regularly. If immediate patching is not feasible, consider restricting network access to the baserCMS administrative interface to trusted IP addresses only and monitoring system command execution logs for anomalous activity. Consult the vendor security advisory at https://basercms.net/security/JVN_20837860 for additional guidance.

Affected VersionsENISA

basercms < 5.2.3

Affected Packages

composer baserproject/basercms fix: 5.2.3
euvd basercms fix: 5.2.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

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

Technical ContextAI · show details

The vulnerability stems from CWE-78 (OS Command Injection) in baserCMS, a PHP-based website development framework and content management system developed by the baserproject. The flaw exists in the update functionality where user-controlled input is insufficiently sanitized before being passed to system command execution functions. Based on the CPE identifier (cpe:2.3:a:baserproject:basercms), this affects the core baserCMS application. Command injection vulnerabilities typically occur when applications construct shell commands using concatenation or inadequate escaping of user input, allowing attackers to break out of intended command context and inject additional commands using metacharacters like semicolons, pipes, or backticks. In PHP applications like baserCMS, this often involves unsafe use of functions such as exec(), shell_exec(), system(), or passthru() without proper input validation.

Know when Basercms 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

GitHub Advisory PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 02:30 nvd
Patch available
CVE Published
Mar 31, 2026 - 00:45 nvd
CRITICAL 9.1

DescriptionGitHub Advisory

baserCMS is a website development framework. Prior to version 5.2.3, there is an OS command injection vulnerability in the update functionality. Due to this issue, an authenticated user with administrator privileges in baserCMS can execute arbitrary OS commands on the server with the privileges of the user account running baserCMS. This issue has been patched in version 5.2.3.

Executive ViewAI

Why It Matters

baserCMS versions prior to 5.2.3 contain a critical command injection vulnerability in the update functionality that allows authenticated administrators to execute arbitrary commands on the hosting server. Organizations running baserCMS must immediately patch to version 5.2.3 to eliminate the risk of malicious administrators or compromised admin accounts being leveraged for complete server compromise.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 5.2.3. Until patching is completed: (1) Restrict baserCMS administrator account access to only essential personnel with background verification; (2) Implement network segmentation to limit server access; (3) Enable and actively monitor administrative activity logs for suspicious update or command execution patterns; (4) Disable remote access to update functionality if technically feasible.

Threat Intelligence Overview

EPSS Score
0.2%
Top 61% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2018-18942 HIGH POC
7.2 Nov 05

In baserCMS before 4.1.4, lib\Baser\Model\ThemeConfig.php allows remote attackers to execute arbitrary PHP code via the

CVE-2017-10842 CRITICAL
9.8 Aug 29

SQL injection vulnerability in the baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows remote attackers to execute arb

CVE-2023-43792 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-43649 CRITICAL
9.8 Oct 30

baserCMS is a website development framework. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploita

CVE-2023-25655 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2023-25654 CRITICAL
9.8 Mar 23

baserCMS is a Content Management system. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2017-10844 HIGH
8.8 Aug 29

baserCMS 3.0.14 and earlier, 4.0.5 and earlier allows an attacker to execute arbitrary PHP code on the server via unspec

CVE-2016-4879 HIGH
8.8 May 12

Cross-site request forgery (CSRF) vulnerability in baserCMS plugin Mail version 3.0.10 and earlier allows remote attacke

CVE-2016-4881 HIGH
8.8 May 12

Cross-site request forgery (CSRF) vulnerability in baserCMS plugin Blog version 3.0.10 and earlier allows remote attacke

CVE-2016-4878 HIGH
8.8 May 12

Cross-site request forgery (CSRF) vulnerability in baserCMS version 3.0.10 and earlier allows remote attackers to hijack

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