CVE-2026-21861: Vulnerability in Basercms

Critical. 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.

Packagist, CWE-78

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-qxmc-6f24-g86g
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-78
Published
31 Mar 2026
Last change
17 Jun 2026
Ecosystem
Packagist

Affected products

Affected versions and the first fixed release

  • Basercms Before 5.2.3. Fixed in 5.2.3

Affected packages

Vulnerable version ranges and fixed releases

  • baserproject/basercms Packagist, Affected through 5.2.2. Fixed in 5.2.3

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related