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.
Published: 2026-06-05
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

HAX CMS prior to version 26.0.0 contains an operating‑system command injection flaw in the Git.php library of its PHP backend. The library builds shell command strings from user-supplied parameters and invokes them with proc_open(). Only the commit() function protects arguments with escapeshellarg(), while sixteen additional functions expose the raw input. An attacker able to submit crafted values to any of these Git operations can execute arbitrary shell commands with the privileges of the web server, leading to remote code execution and potentially full system compromise when combined with other configuration‑manipulation weaknesses.

Affected Systems

The affected product is haxtheweb’s HAX CMS PHP backend. Versions older than 26.0.0 are vulnerable. No specific patch versions beyond 26.0.0 are listed, but the advisory states that applying the 26.0.0 update resolves the issue.

Risk and Exploitability

The CVSS score of 7.7 signifies a high severity level. No EPSS score is publicly available, but the absence of a KEV listing does not diminish the risk; command injection remains a critical threat if the attacker can reach the Git functionality. The vulnerability can be exploited from a remote web request that provides the vulnerable parameters, and the impact is complete control over the underlying operating system. When combined with a separate vulnerability that allows configuration changes, the risk escalates to full system compromise. Administrators should treat this as a high‑priority issue.

Generated by OpenCVE AI on June 5, 2026 at 20:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the HAX CMS PHP backend to version 26.0.0 or later, which removes the unsafe command execution paths.
  • Restrict or disable the Git operation endpoints or web interfaces that allow submitting custom Git commands, limiting potential exposure.
  • Enforce strict input validation for all command‑building functions or deploy a web application firewall rule that blocks attempts to inject shell metacharacters; consider code auditing.

Generated by OpenCVE AI on June 5, 2026 at 20:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 05 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Haxtheweb
Haxtheweb haxcms-php
Vendors & Products Haxtheweb
Haxtheweb haxcms-php

Fri, 05 Jun 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title HAX CMS Vulnerable to Command Injection using Git.php
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 7.7, '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'}


Subscriptions

Haxtheweb Haxcms-php
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-05T18:26:00.976Z

Reserved: 2026-05-13T21:04:10.931Z

Link: CVE-2026-46394

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-06-05T19:16:33.447

Modified: 2026-06-05T19:20:19.607

Link: CVE-2026-46394

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-05T20:45:04Z

Weaknesses