RCE in Haxtheweb Haxcms-Php
CVE-2026-46394
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.008 (53.1th percentile) — read the EPSS interpretation.
Affected products
- Haxtheweb Haxcms-php — versions < 26.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2026-46394?
- CVE-2026-46394 is a vulnerability in Haxtheweb Haxcms-Php, classified under OS Command Injection. Published 2026-06-05.
- Is CVE-2026-46394 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.