CVE-2026-41587: CWE-434: Unrestricted Upload of File with Dangerous Type in ci4-cms-erp ci4ms
CI4MS versions from 0.26.0.0 up to but not including 0.31.7.0 contain a vulnerability in the theme upload feature that allows authenticated backend users with theme-upload permission to upload crafted ZIP files containing PHP code. These PHP files are placed into a web-accessible directory without extension or content filtering, enabling remote code execution via HTTP requests. This vulnerability is identified as CWE-434 (Unrestricted Upload of File with Dangerous Type). A patch fixing this issue is available in version 0.
AI Analysis
Technical Summary
The ci4ms product, a CodeIgniter 4-based CMS skeleton, has a vulnerability (CVE-2026-41587) in its theme upload functionality affecting versions >= 0.26.0.0 and < 0.31.7.0. Authenticated backend users with the theme-upload permission can upload ZIP files containing PHP files that are extracted into the public web directory without proper filtering or extension enforcement. This allows these PHP files to be executed remotely via HTTP, resulting in remote code execution (RCE). The vulnerability is classified under CWE-434. The issue has been addressed and patched in version 0.31.7.0.
Potential Impact
Successful exploitation allows an authenticated backend user with theme-upload permission to execute arbitrary PHP code on the server remotely, potentially leading to full system compromise. The vulnerability has a high CVSS 4.0 score of 8.6, reflecting its severity and ease of exploitation given the required privileges.
Mitigation Recommendations
A fix for this vulnerability is available in ci4ms version 0.31.7.0. Users should upgrade to this version or later to remediate the issue. Since the vulnerability requires authenticated backend access with theme-upload permission, restricting this permission to trusted users can reduce risk prior to patching.
CVE-2026-41587: CWE-434: Unrestricted Upload of File with Dangerous Type in ci4-cms-erp ci4ms
Description
CI4MS versions from 0.26.0.0 up to but not including 0.31.7.0 contain a vulnerability in the theme upload feature that allows authenticated backend users with theme-upload permission to upload crafted ZIP files containing PHP code. These PHP files are placed into a web-accessible directory without extension or content filtering, enabling remote code execution via HTTP requests. This vulnerability is identified as CWE-434 (Unrestricted Upload of File with Dangerous Type). A patch fixing this issue is available in version 0.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/ci4-cms-erp/ci4msRun 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 ci4ms product, a CodeIgniter 4-based CMS skeleton, has a vulnerability (CVE-2026-41587) in its theme upload functionality affecting versions >= 0.26.0.0 and < 0.31.7.0. Authenticated backend users with the theme-upload permission can upload ZIP files containing PHP files that are extracted into the public web directory without proper filtering or extension enforcement. This allows these PHP files to be executed remotely via HTTP, resulting in remote code execution (RCE). The vulnerability is classified under CWE-434. The issue has been addressed and patched in version 0.31.7.0.
Potential Impact
Successful exploitation allows an authenticated backend user with theme-upload permission to execute arbitrary PHP code on the server remotely, potentially leading to full system compromise. The vulnerability has a high CVSS 4.0 score of 8.6, reflecting its severity and ease of exploitation given the required privileges.
Mitigation Recommendations
A fix for this vulnerability is available in ci4ms version 0.31.7.0. Users should upgrade to this version or later to remediate the issue. Since the vulnerability requires authenticated backend access with theme-upload permission, restricting this permission to trusted users can reduce risk prior to patching.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-21T14:15:21.959Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fc1390cbff5d861073261e
Added to database: 05/07/2026, 04:22:40 UTC
Last enriched: 05/14/2026, 10:50:29 UTC
Last updated: 07/03/2026, 08:51:24 UTC
Views: 109
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.
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.