CVE-2026-30877
OS Command Injection in baserCMS Update Allows Admin Code Execution
Publication date: 2026-03-31
Last updated on: 2026-04-01
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| basercms | basercms | to 5.2.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability allows an authenticated administrator to execute arbitrary OS commands on the server, which can lead to significant data exposure, data modification, and service disruption.
Such impacts can compromise the confidentiality, integrity, and availability of sensitive data, potentially violating compliance requirements under standards like GDPR and HIPAA that mandate protection of personal and health information.
Therefore, if exploited, this vulnerability could result in non-compliance with these regulations due to unauthorized access and manipulation of protected data.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability is an OS command injection in the update functionality of baserCMS versions prior to 5.2.3, exploitable by an authenticated administrator user. Detection typically involves verifying the baserCMS version and monitoring for suspicious command execution or unusual activity related to the update process.
To detect if your system is vulnerable, first check the baserCMS version installed. If it is version 5.2.2 or earlier, the system is vulnerable.
- Check baserCMS version by inspecting the application or running commands on the server such as: `grep 'baserCMS version' /path/to/basercms/version/file` or reviewing the admin dashboard if it displays version info.
- Monitor logs for suspicious commands or unexpected OS command executions triggered by the update functionality.
- Use network monitoring tools to detect unusual outbound connections or command injection attempts targeting the update functionality.
Since the vulnerability requires administrator privileges and is triggered via the update functionality, commands or scripts that simulate or audit update requests with injected payloads could be used in a controlled environment to test for exploitation, but specific commands are not provided in the available resources.
Can you explain this vulnerability to me?
CVE-2026-30877 is a critical OS command injection vulnerability found in baserCMS versions 5.2.2 and earlier, specifically in its update functionality.
This vulnerability allows an authenticated user with administrator privileges to execute arbitrary operating system commands on the server with the same privileges as the baserCMS process user.
The root cause is that baserCMS constructs OS commands using user-supplied input without properly neutralizing special characters or elements, which can alter the intended command execution.
This issue was patched in version 5.2.3.
How can this vulnerability impact me? :
This vulnerability can have severe impacts including:
- Execution of arbitrary OS commands on the server with the privileges of the baserCMS process user.
- Potential significant data exposure (confidentiality impact).
- Possible data modification (integrity impact).
- Service disruption or denial of service (availability impact).
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should immediately upgrade baserCMS to version 5.2.3 or later, where the issue has been patched.
Additionally, restrict administrator access to trusted users only, as exploitation requires administrator privileges.
Monitor and audit administrator activities to detect any suspicious command execution attempts.