Skip to main content

HAX CMS EUVDEUVD-2026-34894

| CVE-2026-46400 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-06-05 GitHub_M
8.7
CVSS 4.0 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:4.0/AV:N/AC:L/AT:N/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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Analysis Generated
Jun 05, 2026 - 21:50 vuln.today
Patch available
Jun 05, 2026 - 21:01 EUVD
CVSS changed
Jun 05, 2026 - 20:22 NVD
8.7 (HIGH)
CVE Published
Jun 05, 2026 - 19:15 nvd
UNKNOWN (no severity yet)

DescriptionGitHub Advisory

HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 11.0.6 and prior to version 25.0.0, the file upload functionality in HAXCMS PHP only validates file extensions using a regex pattern without checking the actual file content or MIME type. This allows attackers to upload malicious files (e.g., PHP webshells) disguised as legitimate image files, potentially leading to remote code execution. Version 25.0.0 contains a fix for the issue.

AnalysisAI

Arbitrary file upload in HAX CMS (PHP backend) versions 11.0.6 through 24.x allows authenticated remote attackers to upload PHP webshells disguised as images by abusing a regex-only extension check that ignores MIME type and content inspection, leading to remote code execution on the web server. CVSS v4.0 scores this 8.7 (High) with PR:L indicating low-privilege authentication is required, and no public exploit was identified at time of analysis although the underlying CWE-434 pattern is highly automatable.

Technical ContextAI

HAX CMS is an open-source headless content management system for managing 'microsite universes' with either PHP or Node.js backends; this issue is scoped specifically to the PHP backend identified by the CPE cpe:2.3:a:haxtheweb:haxcms-php. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): the upload handler validates only the trailing filename extension via a regex pattern, with no inspection of magic bytes, no MIME sniffing, and no enforcement that uploaded content actually matches an image format. Because the resulting file is written into a web-accessible directory served by the PHP interpreter, any uploaded .php (or PHP-handler-mapped extension such as .phtml or polyglot file) is executed when requested. This is a classic webshell delivery pattern made possible by extension-only allow/deny logic.

RemediationAI

Vendor-released patch: upgrade haxcms-php to version 25.0.0 or later, which adds proper file content/MIME validation as documented in GitHub Security Advisory GHSA-ffxv-9qv2-v2v8 (https://github.com/haxtheweb/issues/security/advisories/GHSA-ffxv-9qv2-v2v8) and tracked as EUVD-2026-34894. Where immediate upgrade is not possible, compensating controls include disabling the file upload endpoint for untrusted roles (trade-off: breaks legitimate author workflows that rely on media uploads), placing the uploads directory outside the document root or serving it from a path where PHP execution is disabled via web server configuration such as an Apache .htaccess with 'php_flag engine off' or an nginx location block that forces a static MIME handler (trade-off: requires server-level changes and will not protect against polyglot files served through other interpreters), and restricting access to the CMS administrative surface to VPN or IP-allowlisted networks to shrink the attacker pool able to obtain the low-privilege account required by PR:L.

More in PHP

View all
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-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

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

EUVD-2026-34894 vulnerability details – vuln.today

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