Skip to main content

HAX CMS CVE-2026-46394

| EUVDEUVD-2026-34885 HIGH
OS Command Injection (CWE-78)
2026-06-05 GitHub_M
7.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege HAX CMS account
  2. Delivery
    Identify Git-backed API endpoint
  3. Exploit
    Inject shell metacharacters into Git parameter
  4. Execution
    Trigger unsafe proc_open() in Git.php
  5. Persist
    Execute commands as web server user
  6. Impact
    Chain 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 ; or $(). The malicious value flows unescaped into one of the 16 vulnerable Git.php functions and is executed by proc_open() as the web server user, yielding code execution; chaining with the referenced configuration-manipulation flaw enables full RCE and host compromise. No public exploit code has been identified, but the advisory provides enough detail for a skilled attacker to reproduce.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

haxcms-php < 26.0.0

Affected Packages

euvd haxcms_php fix: 26.0.0

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

Vendor (GitHub_M) PRIMARY 7.7 HIGH
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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jun 05, 2026 - 20:02 EUVD
CVSS changed
Jun 05, 2026 - 19:22 NVD
7.7 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.9%
Top 24% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy