Arbitrary File Upload Affecting ci4-cms-erp/ci4ms package, versions >=0.26.0.0, <0.31.7.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.5% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-CI4CMSERPCI4MS-16348427
  • published3 May 2026
  • disclosed29 Apr 2026
  • creditdapickle

Introduced: 29 Apr 2026

CVE-2026-41587  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade ci4-cms-erp/ci4ms to version 0.31.7.0 or higher.

Overview

ci4-cms-erp/ci4ms is a composer create-project ci4-cms-erp/ci4ms

Affected versions of this package are vulnerable to Arbitrary File Upload via the install_theme_from_tmp process. An attacker can execute arbitrary PHP code on the server by uploading a specially crafted ZIP file containing malicious PHP files, which are then placed in web-accessible directories without proper validation. This allows the attacker to access and execute these files remotely through HTTP requests. This is only exploitable if a backend user has been granted theme upload permission.

CVSS Base Scores

version 4.0
version 3.1