CVE-2026-46394

HIGH

Haxtheweb Haxcms-php < 26.0.0 - Remote Code Execution

Title source: rule
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-46394. PoCs published by shreyas-challa.

AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2026-46394, demonstrating OS command injection in HAXcms' Git.php library. The PoC creates a temporary git repository, injects a malicious branch name with shell metacharacters, and verifies command execution by checking for a proof file.

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.

Exploits (1)

github WORKING POC
by shreyas-challa · phppoc
https://github.com/shreyas-challa/CVE-2026-46394-haxcms-git-command-injection

This repository contains a functional proof-of-concept exploit for CVE-2026-46394, demonstrating OS command injection in HAXcms' Git.php library. The PoC creates a temporary git repository, injects a malicious branch name with shell metacharacters, and verifies command execution by checking for a proof file.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: HAXcms (versions prior to the patch)
No auth needed
Prerequisites: PHP CLI · Git installed · Copy of HAXcms PHP backend
devstral-2 · analyzed Jun 09, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v4 7.7
EPSS 0.0095
EPSS Percentile 76.9%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (1)
haxtheweb/haxcms-php < 26.0.0
Published Jun 05, 2026
Tracked Since Jun 06, 2026