# CVE-2026-21861: baserCMS: OS Command Injection Leading to Remote Code Execution (RCE)

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.52%, higher than 85% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T00:43:58.296Z
- Modified: 2026-09-10T03:50:40.575Z
- Also known as: GHSA-qxmc-6f24-g86g
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- baserproject basercms: < 5.2.3
- baserproject/basercms (Packagist): before 5.2.3
- basercms basercms: before 5.2.3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/baserproject/basercms/security/advisories/GHSA-qxmc-6f24-g86g> (exploit, vendor-advisory, web)
- <https://basercms.net/security/JVN_20837860> (vendor-advisory, web)
- <https://github.com/baserproject/basercms/releases/tag/5.2.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-21861> (advisory)
- <https://github.com/baserproject/basercms> (package)

## Sources

- CVE List: [CVE-2026-21861](https://www.cve.org/CVERecord?id=CVE-2026-21861), CVE Terms of Use, modified 2026-03-31
- GitHub Advisory Database: [GHSA-qxmc-6f24-g86g](https://github.com/advisories/GHSA-qxmc-6f24-g86g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-21861](https://nvd.nist.gov/vuln/detail/CVE-2026-21861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21861 · Whole record: https://cve.day/CVE-2026-21861.json · Rebuilt by cve.day 2026-11-25T22:59:17.545Z
