CVE-2026-41587: CI4MS has Unrestricted PHP File Upload via Theme Installation that Leads to Authenticated Remote Code Execution

CVE-2026-41587 · Severity: medium · CVSS 4 · Published 2026-05-07

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. From version 0.26.0.0 to before version 0.31.7.0, a theme upload feature allows any authenticated backend user with theme-upload permission to achieve remote code execution (RCE) by uploading a crafted ZIP file. PHP files inside the ZIP are installed into the web-accessible public/ directory with no extension or content filtering, making them directly executable via HTTP. This issue has been patched in version 0.31.7.0.

Technologies: ci4-cms-erp/ci4ms (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2026-41587 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-41587 being exploited in the wild.
How severe is CVE-2026-41587?
Medium severity, with a CVSS score of 4, published 7 May 2026.
Which products and versions are affected?
ci4-cms-erp/ci4ms (Packagist) ECOSYSTEM:introduced=0.26.0.0,fixed=0.31.7.0.
Is there a fix for CVE-2026-41587?
Yes. ci4-cms-erp/ci4ms (Packagist): upgrade to 0.31.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-41587?
Check whether you run ci4-cms-erp/ci4ms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ci4-cms-erp/ci4ms (Packagist): upgrade to 0.31.7.0 or later
    composer require ci4-cms-erp/ci4ms:^0.31.7.0

Affected products

  • ci4-cms-erp/ci4ms (Packagist) ECOSYSTEM:introduced=0.26.0.0,fixed=0.31.7.0

Identifiers

  • CVE-2026-41587
  • GHSA-fw49-9xq4-gmx6

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.