{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46394 exists.","fix":"No fix has been published for CVE-2026-46394 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-46394 is a high-severity command injection vulnerability in haxtheweb haxcms-php, published on 5 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46394 and fix it if it is affected.\n\nWhat it is: CVE-2026-46394 is a high-severity command injection vulnerability in haxtheweb haxcms-php, published on 5 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46394 exists.\n\nAffected product: haxtheweb haxcms-php. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46394/ (Markdown: https://insights.sbomify.com/CVE-2026-46394/index.md)","id":"CVE-2026-46394","markdown":"https://insights.sbomify.com/CVE-2026-46394/index.md","name":"CVE-2026-46394","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"HAX CMS PHP backend","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary OS commands via unsanitized input in Git.php, leading to remote code execution and system compromise.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-06-09","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-06-09T17:19:20Z","kind":"github_poc","ref":"https://github.com/shreyas-challa/CVE-2026-46394-haxcms-git-command-injection","stars":0,"title":"PoC and writeup for CVE-2026-46394: OS command injection in HAXcms Git.php (CWE-78). Authorized security research only."}],"tier":"weaponised"},"has_fix":null,"headline":"HAX CMS Vulnerable to Command Injection using Git.php","id":"CVE-2026-46394","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"HAX CMS Vulnerable to Private Key Disclosure via Broken HMAC Implementation","id":"CVE-2026-46395"},"packages":[],"prev":{"headline":"HAXcms createSite SSRF Enables Arbitrary File Read","id":"CVE-2026-46393"},"products":["haxcms-php"],"published":"2026-06-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-08","vendors":["haxtheweb"]},"summary":"Attackers can execute arbitrary OS commands via unsanitized input in Git.php, leading to remote code execution and system compromise.","url":"https://insights.sbomify.com/CVE-2026-46394/"}