CVE-2026-30877: baserCMS OS Command Injection Vulnerability

baserproject/basercms Updated 01 Apr 2026

Summary

31/03/2026
Yes i
Critical
9.1

CVE-2026-30877: baserCMS Update Functionality Vulnerable to OS Command Injection. Affects baserproject/basercms versions < 5.2.3. Fixed in 5.2.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

baserCMS is an open-source content management system (CMS) designed for building and managing websites. It provides a user-friendly interface, customizable templates, and various plugins to enhance functionality. However, the latest version (5.2.2) has been found to contain a critical OS command injection vulnerability that can be exploited by authenticated users with administrator privileges.

Vulnerability Detail

The vulnerability arises from improper validation in the update functionality of baserCMS, allowing authenticated users with administrator access to execute arbitrary OS commands on the server. This can lead to severe consequences, including unauthorized access to sensitive data, server compromise, and potential data loss. The vulnerability is classified under CWE-78, indicating a command injection flaw.

How To Fix

Minimum fixed version

5.2.3

This is the first release that contains the fix.

composer require baserproject/basercms:5.2.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the baserCMS admin panel to trusted IP addresses only. This can help mitigate the risk of exploitation until the update is applied.

Conclusion

The OS command injection vulnerability in baserCMS (CVE-2026-30877) poses a significant risk to users with administrator privileges. It is crucial to update to version 5.2.3 or later to protect against potential exploitation. Implementing temporary workarounds can also help mitigate risks until the update is completed.

See every vulnerability recorded for baserproject/basercms →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.

Any authenticated user with administrator privileges in baserCMS version 5.2.2 or earlier is affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to unauthorized execution of OS commands, compromising server security, and potential data breaches.

Yes, restricting access to the admin panel to trusted IP addresses can help mitigate the risk until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for baserproject/basercms.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.2.3

This is the first release that contains the fix.

composer require baserproject/basercms:5.2.3

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback