Haxtheweb haxcms-php
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 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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.0.0
Fixed in 26.0.0
Mitigation
Upgrade haxcms-php to 26.0.0 or later.
References
- Vendor advisory github.com/haxtheweb/issues/security/advisorie…
Timeline
Days relative to CVE publicationFirst public PoC 4 days after publication; not in CISA KEV. First PoC: shreyas-challa/CVE-2026-46394-haxcms-git-command-injection (created 9 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| shreyas-challa/CVE-2026-46394-haxcms-git-command-injection | 9 Jun 2026 +4 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.