GHSA-m9g7-rgfc-jcm7
baserCMS Update Functionality Vulnerable to OS Command Injection
Quick fix
GHSA-m9g7-rgfc-jcm7 — baserproject/basercms: upgrade to the fixed version with the command below.
composer require baserproject/basercms:^5.2.3Details
### Summary The latest version of baserCMS (basercms-5.2.2) contains an OS command injection vulnerability (CWE-78) in its 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.
### Details Please refer to the attached materials. [OSコマンドインジェクション(baserCMSのアップデート機能).pdf](https://github.com/user-attachments/files/25468689/OS.baserCMS.pdf)
### Impact An authenticated user with administrator privileges in baserCMS can execute OS commands on the server with the privileges of the user account running baserCMS.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 5.2.3composer require baserproject/basercms:^5.2.3References
- https://github.com/baserproject/basercms/security/advisories/GHSA-m9g7-rgfc-jcm7[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-30877[ADVISORY]
- https://basercms.net/security/JVN_20837860[WEB]
- https://github.com/baserproject/basercms[PACKAGE]
- https://github.com/baserproject/basercms/releases/tag/5.2.3[WEB]