CVE-2026-46394 HAX CMS Vulnerable to Command Injection using Git.php
Attackers can execute arbitrary OS commands via unsanitized input in Git.php, leading to remote code execution and system compromise.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-46394?
CVE-2026-46394 is a high-severity command injection vulnerability in haxtheweb haxcms-php, published on 5 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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 proc_open(). 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-46394?
How do I fix CVE-2026-46394?
No fix has been published for CVE-2026-46394 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-46394 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46394 exists.
Public exploit code: 1 proofs of concept on GitHub.