CVE-2026-41203

ci4ms Theme::upload is vulnerable to Zip Slip leading to RCE

Published May 7, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to version 0.31.5.0, ci4ms Theme::upload extracts user uploaded ZIP archives without validating entry names, allowing an authenticated backend user with the theme create permission to write files to arbitrary filesystem locations (Zip Slip) and achieve remote code execution by dropping a PHP file under the public web root. This issue has been patched in version 0.31.5.0.

Analysis

AI-generated

Technical impact

CI4MS’s Theme::upload function extracts user provided ZIP archives without validating the path names of the entries. An authenticated backend user possessing the theme‑create permission can embed a directory traversal payload such as ../../../../public/evil.php. When the archive is extracted, the PHP file is written into the web root, where it can be accessed and executed by an attacker, allowing arbitrary code run on the server.

Affected Systems

The affected product is the ci4ms CMS provided by ci4-cms-erp. Any install running a version earlier than 0.31.5.0 is vulnerable. The patch was released in release 0.31.5.0.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.4, indicating critical severity. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog. Exploitation requires an authenticated user with the theme‑create role, a condition that is usually satisfied by content administrators or developers. Once the malicious PHP file is dropped, the attacker achieves remote code execution with the privileges of the web server process. The lack of additional access controls makes the attack vector straightforward for any such user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ci4ms to version 0.31.5.0 or later
  • Revoke or limit theme‑create permissions to trusted accounts only
  • Audit the filesystem for uploaded PHP payloads and remove them

Generated by OpenCVE AI on May 7, 2026 at 05:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-xv3r-vr59-95rg CI4MS Theme::upload is vulnerable to Zip Slip leading to RCE
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ci4-cms-erp
Ci4-cms-erp ci4ms
Vendors & Products Ci4-cms-erp
Ci4-cms-erp ci4ms
Type Values Removed Values Added
Description CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to version 0.31.5.0, ci4ms Theme::upload extracts user uploaded ZIP archives without validating entry names, allowing an authenticated backend user with the theme create permission to write files to arbitrary filesystem locations (Zip Slip) and achieve remote code execution by dropping a PHP file under the public web root. This issue has been patched in version 0.31.5.0.
Title ci4ms Theme::upload is vulnerable to Zip Slip leading to RCE
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 7, 2026, 1:49 PM
Reserved
Apr 18, 2026, 2:51 AM
Status
Deferred
Published
May 7, 2026, 4:16 AM
Modified
Oct 26, 2026, 7:10 PM