CVE-2026-46394: HAX CMS Vulnerable to Command Injection using Git.php
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an OS command injection vulnerability exists in the Git.php library of the HAXcms PHP backend. The application constructs shell command strings using unsanitized input and executes them via procopen(). An attacker who can control parameters passed into Git operations can execute arbitrary OS commands with the privileges of the web server. Out of 17 functions that invoke shell commands only 1 function (commit()) correctly uses escapeshellarg(). When combined with another vulnerability that allows configuration manipulation, this issue can lead to full remote code execution and complete system compromise. Version 26.0.0 patches the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HAX CMSto a version that resolves this vulnerability.Fixed in 26.0.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46394?
CVE-2026-46394 has a high severity rating of 7.7 according to the CVSS score.
How do I fix CVE-2026-46394?
To fix CVE-2026-46394, upgrade the HAX CMS to version 26.0.0 or later to eliminate the OS command injection vulnerability.
What type of vulnerability is CVE-2026-46394?
CVE-2026-46394 is classified as an OS command injection vulnerability.
Which software is affected by CVE-2026-46394?
CVE-2026-46394 affects the HAX CMS with a PHP backend, specifically prior to version 26.0.0.
How does CVE-2026-46394 operate?
CVE-2026-46394 operates by allowing an attacker to construct shell command strings using unsanitized input that is executed through proc_open().