Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege HAX CMS account
-
DeliveryIdentify Git-backed API endpoint
-
ExploitInject shell metacharacters into Git parameter
-
ExecutionTrigger unsafe proc_open() in Git.php
-
PersistExecute commands as web server user
-
ImpactChain with config-manipulation flaw for full RCE
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold a valid low-privilege authenticated session on the HAX CMS PHP backend (CVSS PR:L) and must be able to reach an HTTP endpoint that invokes one of the 16 unsafe functions in Git.php (any function except commit()). The AT:P attack requirement reflects that the target HAX CMS instance must have its Git integration features enabled and reachable - installations that do not expose Git operations are not exploitable. Exploitation does not require user interaction (UI:N) and works over the network (AV:N), but AC:H indicates non-trivial crafting of the injected parameter is needed to bypass partial validation. The Node.js backend deployment is out of scope per the advisory. |
| Impact | CVSS 4.0 scores this 7.7 (High) with vector AV:N/AC:H/AT:P/PR:L/UI:N and VC:H/VI:H/VA:H - network-reachable, low-privilege authenticated, but with high attack complexity and a required attack prerequisite (AT:P), meaning exploitation is non-trivial in default deployments. EPSS and KEV data were not provided in the intelligence feed, so probability of mass exploitation cannot be quantified, and there is no public exploit identified at time of analysis. The advisory explicitly notes that chaining with a separate configuration-manipulation vulnerability escalates this to full RCE and system compromise, so defenders should treat the score as a floor rather than a ceiling - particularly in multi-tenant or internet-exposed HAX CMS installations. Risk is real but bounded by the PR:L requirement: an authenticated foothold is needed before this sink is reachable. |
| Exploit ScenarioDerived | An attacker registers or compromises a low-privilege HAX CMS account, then submits a Git operation (e.g., setting a remote URL, branch name, or path) containing shell metacharacters such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 05, 2026
OS command injection in HAX CMS (haxtheweb/haxcms-php) prior to version 26.0.0 allows authenticated remote attackers to execute arbitrary commands as the web server user via Git operations in the PHP backend. The Git.php library passes unsanitized input into proc_open() across 16 of 17 shell-invoking functions, with only commit() correctly using escapeshellarg(). No public exploit identified at time of analysis, though the vendor advisory describes a clear chain to full RCE when combined with configuration manipulation.
RemediationAI
Vendor-released patch: upgrade to HAX CMS 26.0.0 or later, which adds proper input sanitization to the Git.php wrapper per advisory GHSA-6jf3-9fgh-cmfr (https://github.com/haxtheweb/issues/security/advisories/GHSA-6jf3-9fgh-cmfr). If immediate upgrade is not possible, restrict network access to authenticated users only and place the application behind a reverse proxy that blocks Git-related API endpoints (trade-off: breaks any legitimate site-publishing or version-control workflows that depend on those routes). As an additional compensating control, run the PHP-FPM/web server process under a dedicated low-privilege account with no shell, no write access outside the HAX content tree, and no outbound network egress, to limit blast radius if exploitation occurs; this may break Git push/pull to remote origins. Audit account provisioning to minimize the number of users holding the low-privilege role required for Git operations until the patch is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HAX CMS is a microsite/HAX-the-Web content management platform with both PHP and Node.js backends; this issue affects the PHP backend specifically (CPE cpe:2.3:a:haxtheweb:haxcms-php). The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The Git.php wrapper concatenates user-controlled parameters (branch names, paths, remotes, commit metadata) directly into shell command strings and dispatches them through proc_open(), bypassing PHP's escapeshellarg()/escapeshellcmd() safeguards. Because Git operations accept many fields that flow from HTTP request parameters into the wrapper, a single missed escape in any of the 16 vulnerable functions provides a direct shell metacharacter injection sink.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
HAX CMS (haxtheweb/haxcms-php) versions prior to 26.0.0 contain an OS command injection vulnerability in Git backend operations exploitable by authenticated users, with no public exploit identified at time of analysis. Successful exploitation enables arbitrary command execution as the web server user, creating risk of data theft, content manipulation, and lateral network movement. Immediate remediation is required despite authentication requirement.
Restrict network access to HAX CMS administrative interfaces; implement WAF rules to detect suspicious Git command input patterns; run HAX CMS with minimal-privilege OS account; enable comprehensive logging and monitoring of system command execution; manually review and patch Git.php library functions (15 of 17 functions) to apply escapeshellarg() where missing; conduct code security review of Git.php before next production deployment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-34885
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB