CVE-2026-46400: CWE-434: Unrestricted Upload of File with Dangerous Type in haxtheweb haxcms-php
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.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-46400 in haxtheweb's haxcms-php affects versions >=11.0.6 and <25.0.0. The file upload feature relies solely on regex-based file extension validation, lacking content or MIME type verification. This permits attackers to upload dangerous files such as PHP webshells under the guise of image files, which can lead to remote code execution on the server. The issue is categorized under CWE-434 (Unrestricted Upload of File with Dangerous Type). A fix is included starting in version 25.0.0.
Potential Impact
Successful exploitation can lead to remote code execution due to the upload of malicious files disguised as images. This compromises the server hosting haxcms-php, potentially allowing attackers to execute arbitrary code with the privileges of the web server process.
Mitigation Recommendations
Upgrade haxcms-php to version 25.0.0 or later, where the vulnerability has been fixed. The fix involves proper validation beyond file extension regex, including checking file content or MIME type. Until upgrading, restrict file upload permissions and monitor for suspicious uploads as a temporary measure. Patch status is not explicitly stated in the vendor advisory, but version 25.0.0 contains the fix.
CVE-2026-46400: CWE-434: Unrestricted Upload of File with Dangerous Type in haxtheweb haxcms-php
Description
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.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/haxtheweb/haxcms-phpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-46400 in haxtheweb's haxcms-php affects versions >=11.0.6 and <25.0.0. The file upload feature relies solely on regex-based file extension validation, lacking content or MIME type verification. This permits attackers to upload dangerous files such as PHP webshells under the guise of image files, which can lead to remote code execution on the server. The issue is categorized under CWE-434 (Unrestricted Upload of File with Dangerous Type). A fix is included starting in version 25.0.0.
Potential Impact
Successful exploitation can lead to remote code execution due to the upload of malicious files disguised as images. This compromises the server hosting haxcms-php, potentially allowing attackers to execute arbitrary code with the privileges of the web server process.
Mitigation Recommendations
Upgrade haxcms-php to version 25.0.0 or later, where the vulnerability has been fixed. The fix involves proper validation beyond file extension regex, including checking file content or MIME type. Until upgrading, restrict file upload permissions and monitor for suspicious uploads as a temporary measure. Patch status is not explicitly stated in the vendor advisory, but version 25.0.0 contains the fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-13T21:04:10.932Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a232492e29bf47b50b16f67
Added to database: 06/05/2026, 19:33:38 UTC
Last enriched: 06/13/2026, 09:49:11 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.