CVE-2026-30877
PHP vulnerability analysis and mitigation

Overview

CVE-2026-30877 is an OS command injection vulnerability in the update functionality of baserCMS, a PHP-based website development framework. It affects all versions up to and including 5.2.2, and was disclosed on March 30–31, 2026, with a patch released in version 5.2.3. An authenticated administrator can exploit this flaw to execute arbitrary OS commands on the server. The GitHub Advisory Database rates this vulnerability as Critical with a CVSS v3.1 base score of 9.1 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H) (GitHub Advisory, baserCMS Advisory).

Technical details

The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), meaning the update functionality constructs OS commands using user-influenced input without properly sanitizing shell metacharacters or command delimiters. An attacker with administrator-level access to the baserCMS admin panel can inject malicious input into the update mechanism, causing the server to execute arbitrary OS commands with the privileges of the web application's service account. No additional preconditions beyond valid administrator credentials are required, and the attack is conducted remotely over the network with low complexity. The vulnerability was reported by researcher EricUeda and documented in an attached PDF (OSコマンドインジェクション(baserCMSのアップデート機能).pdf) referenced in the advisory (GitHub Advisory, baserCMS Advisory).

Impact

Successful exploitation allows an authenticated administrator to execute arbitrary OS commands on the server with the privileges of the baserCMS service account, resulting in full confidentiality, integrity, and availability compromise. This can lead to unauthorized access to sensitive data, modification or deletion of system files, deployment of web shells or backdoors, and lateral movement within the hosting infrastructure. The CVSS scope is rated as "Changed," indicating that the impact can extend beyond the baserCMS application itself to other components on the same server (GitHub Advisory, Feedly).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit code and no evidence of active in-the-wild exploitation (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.066% (21st percentile), indicating a low near-term probability of exploitation (GitHub Advisory). Exploitation requires valid administrator credentials, which limits the attack surface to insider threats or scenarios where admin credentials have been compromised.

Exploitation steps

  1. Reconnaissance: Identify internet-facing baserCMS instances running versions 5.2.2 or earlier using web fingerprinting tools (e.g., Shodan, Censys) or by checking the baserCMS version disclosure in page source or admin panel.
  2. Credential Acquisition: Obtain valid administrator credentials through phishing, credential stuffing, brute force, or insider access to the baserCMS admin panel.
  3. Access Admin Panel: Log in to the baserCMS administration interface (typically at /baser/admin).
  4. Navigate to Update Functionality: Access the core update feature within the admin panel, which is the vulnerable component.
  5. Inject OS Command Payload: Supply a crafted input containing OS command injection characters (e.g., ;, |, &&, or backticks) into the relevant update parameter, causing the server to execute the injected command with the privileges of the baserCMS service account.
  6. Achieve Objective: Use the command execution to establish a reverse shell, exfiltrate sensitive data, plant a web shell for persistent access, or pivot to other systems on the network (GitHub Advisory, baserCMS Advisory).

Indicators of compromise

  • Network: Unexpected outbound connections from the web server to external IPs (e.g., reverse shell callbacks); unusual DNS lookups originating from the baserCMS process.
  • Logs: Web server access logs showing POST requests to the baserCMS update endpoint (/baser/admin/updaters/ or similar) with anomalous or encoded parameter values; PHP error logs showing command execution errors.
  • File System: Newly created web shell files (e.g., .php files with eval, exec, system, or passthru functions) in the baserCMS web root or upload directories; unexpected modification timestamps on core files.
  • Process: Unusual child processes spawned by the PHP/web server process (e.g., bash, sh, curl, wget, nc, python) visible in process listings; unexpected cron jobs or scheduled tasks added under the web server user account.

Mitigation and workarounds

The baserCMS development team has released version 5.2.3, which patches CVE-2026-30877 along with several other vulnerabilities disclosed simultaneously. All users running baserCMS 5.2.2 or earlier should upgrade to 5.2.3 immediately (baserCMS Release, baserCMS Security). As interim mitigations, restrict administrator access to trusted users only, enforce strong and unique credentials, and consider network-level controls (e.g., IP allowlisting) to limit access to the admin panel and update functionality. Monitor and audit all administrator activity, particularly operations involving the update feature.

Community reactions

The vulnerability was noted by several security aggregation platforms and community accounts shortly after disclosure, including posts on Mastodon and Bluesky (Feedly). The Hacker Wire published a brief article titled "Critical OS Command Injection in baserCMS Update Functionality." The vulnerability was also catalogued by INCIBE-CERT (Spain's national cybersecurity agency) and listed in the ENISA European Vulnerability Database (EUVD-2026-17259). No major vendor statements beyond the baserCMS project's own advisory have been identified.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-52777CRITICAL9.4
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-52775HIGH8.8
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-52774MEDIUM6.1
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-52773MEDIUM6.1
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026
CVE-2026-52772MEDIUM5.5
  • PHP logoPHP
  • yeswiki/yeswiki
NoYesSep 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management