A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-46394

CVE-2026-46394: HAXcms Git.php Command Injection RCE Flaw

CVE-2026-46394 is an OS command injection vulnerability in HAXcms Git.php that enables remote code execution through unsanitized shell commands. This article covers technical details, affected versions, and mitigation.

Published: June 11, 2026

CVE-2026-46394 Overview

CVE-2026-46394 is an OS command injection vulnerability [CWE-78] in the Git.php library of the HAX CMS PHP backend. HAX CMS manages microsite ecosystems with PHP or Node.js backends. The flaw exists in versions prior to 26.0.0. The application constructs shell command strings from unsanitized input and executes them via proc_open(). An attacker who controls parameters passed into Git operations can execute arbitrary OS commands with the privileges of the web server process. Of 17 functions invoking shell commands, only the commit() function correctly applies escapeshellarg(). Version 26.0.0 patches the issue.

Critical Impact

Combined with configuration manipulation, this command injection enables full remote code execution and complete system compromise on hosts running HAX CMS.

Affected Products

  • HAX CMS PHP backend versions prior to 26.0.0
  • Git.php library within the HAXcms codebase
  • HAX CMS deployments exposing Git operation endpoints to authenticated users

Discovery Timeline

  • 2026-06-05 - CVE-2026-46394 published to NVD
  • 2026-06-08 - Last updated in NVD database

Technical Details for CVE-2026-46394

Vulnerability Analysis

The vulnerability resides in the Git.php library that wraps Git operations for the HAX CMS PHP backend. The library builds shell command strings by concatenating user-controllable input directly into command lines. Those strings are then dispatched to the operating system through proc_open(). Because the input is not escaped, shell metacharacters such as ;, |, &, and backticks are interpreted by the shell.

Authenticated attackers with the ability to influence Git parameters can append arbitrary commands to legitimate Git invocations. The injected commands execute under the identity of the web server user, typically www-data or a similar service account. This grants access to web roots, configuration files, and any credentials available to the web process.

The advisory notes that 17 functions invoke shell commands and only commit() applies escapeshellarg(). Every other Git wrapper function exposes a sink for command injection. When chained with a separate vulnerability that permits configuration manipulation, the attacker achieves reliable remote code execution.

Root Cause

The root cause is missing input neutralization on arguments forwarded to shell commands. The library treats parameters such as repository URLs, branch names, and remotes as trusted strings rather than as data requiring escaping. Calling proc_open() with a shell-interpreted command string compounds the issue.

Attack Vector

Exploitation requires network access to the HAX CMS interface and a low-privileged authenticated session capable of triggering Git operations. The attacker submits a crafted parameter containing shell metacharacters and an appended command. The Git.php wrapper concatenates the input into a shell string and proc_open() executes the attacker payload alongside the intended Git command.

No verified public proof-of-concept code is available. See the GitHub Security Advisory GHSA-6jf3-9fgh-cmfr for technical details.

Detection Methods for CVE-2026-46394

Indicators of Compromise

  • Web server processes (php-fpm, apache2, nginx) spawning unexpected child processes such as sh, bash, curl, wget, nc, or python.
  • Git command lines in process logs containing shell metacharacters like ;, |, &&, or backticks within repository URL, branch, or remote parameters.
  • New or modified files under the HAX CMS web root that were not produced by an administrator action.
  • Outbound network connections from the web server to unknown hosts shortly after Git operations.

Detection Strategies

  • Monitor process lineage where the PHP runtime is the parent of shells or interpreters, which indicates command injection through library wrappers.
  • Inspect HTTP request bodies and query parameters for shell metacharacters submitted to HAX CMS Git endpoints.
  • Correlate Git activity timestamps with file system modifications and outbound network events to identify post-exploitation behavior.

Monitoring Recommendations

  • Enable PHP error and audit logging and forward logs to a centralized SIEM for retention and correlation.
  • Deploy endpoint telemetry on HAX CMS hosts to capture full command lines and parent-child process relationships.
  • Baseline normal Git command invocations from the web server so that anomalous arguments stand out.

How to Mitigate CVE-2026-46394

Immediate Actions Required

  • Upgrade HAX CMS to version 26.0.0 or later, which applies proper escaping to all Git wrapper functions.
  • Restrict access to HAX CMS administrative and Git operation endpoints to trusted users and networks until the upgrade is complete.
  • Review web server and application logs for evidence of shell metacharacters in Git-related requests.

Patch Information

The maintainers released version 26.0.0 of HAX CMS, which patches the command injection in Git.php. The fix introduces escapeshellarg() on parameters forwarded to proc_open(). Refer to the GitHub Security Advisory GHSA-6jf3-9fgh-cmfr for full remediation guidance.

Workarounds

  • If upgrading immediately is not possible, disable or block routes that invoke Git operations in the HAX CMS PHP backend.
  • Run the web server under a dedicated low-privilege account and apply mandatory access controls such as AppArmor or SELinux to limit the impact of command execution.
  • Place the HAX CMS instance behind a web application firewall that blocks shell metacharacters in parameters submitted to Git endpoints.
bash
# Configuration example: upgrade HAX CMS and verify version
composer require haxtheweb/haxcms:^26.0.0
php -r "echo defined('HAXCMS_VERSION') ? HAXCMS_VERSION : 'unknown';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHax Cms

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.95%

  • Known ExploitedNo
  • CVSS 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/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
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-46400: HAX CMS File Upload RCE Vulnerability

  • CVE-2026-46399: HAX CMS Authenticated RCE Vulnerability

  • CVE-2026-46396: HAX CMS Stored XSS Vulnerability

  • CVE-2026-46390: HAX CMS Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English