Vulnerability · Published Jun 5, 2026 · Assigned by GitHub_M
CVE-2026-46394HAX CMS Vulnerable to Command Injection using Git.php
High 7.7
In plain English
A high-severity OS command injection in haxcms-php from haxtheweb. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| haxtheweb | haxcms-php | < 26.0.0 |
Weakness: CWE-78 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/haxtheweb/issues/security/advisories/GHSA-6jf3-9fgh-cmfr x_refsource_CONFIRM