CVE-2026-46394
JSON

7.7high

HAX CMS Vulnerable to Command Injection using Git.php

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.94% (higher than 59% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
haxtheweb haxcms-php< 26.0.0CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

HAX CMS ayuda a gestionar el universo de micrositios con backends de PHP o NodeJs. Antes de la versión 26.0.0, existe una vulnerabilidad de inyección de comandos del sistema operativo en la biblioteca Git.php del backend PHP de HAXcms. La aplicación construye cadenas de comandos de shell utilizando entrada no saneada y las ejecuta a través de proc_open(). Un atacante que puede controlar los parámetros pasados a las operaciones de Git puede ejecutar comandos arbitrarios del sistema operativo con los privilegios del servidor web. De 17 funciones que invocan comandos de shell, solo 1 función (’commit()’) utiliza correctamente ’escapeshellarg()’. Cuando se combina con otra vulnerabilidad que permite la manipulación de la configuración, este problema puede llevar a la ejecución remota de código completa y a un compromiso completo del sistema. La versión 26.0.0 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46394 changed 2026-06-08CVE Terms of Use
NVDCVE-2026-46394 changed 2026-10-26Public domain