CVE-2026-25510 CI4MS Vulnerable to Remote Code Execution (RCE) via Arbitrary File Creation and Save in File Editor

Critical 10.0 Published Updated

Authenticated users with file editor permissions can achieve remote code execution by uploading and executing arbitrary PHP code via file editor endpoints.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-25510?

CVE-2026-25510 is a critical code injection vulnerability in ci4-cms-erp ci4ms, published on 3 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.28.5.0, an authenticated user with file editor permissions can achieve Remote Code Execution (RCE) by leveraging the file creation and save endpoints, an attacker can upload and execute arbitrary PHP code on the server. This issue has been patched in version 0.28.5.0.

Weakness: CWE-94, CWE-434

Which versions are affected by CVE-2026-25510?

2 open source packages ship an affected version, including ci4-cms-erp/ci4ms. It affects 1 product.

PackageAffectedFixed in
ci4-cms-erp/ci4ms PackagistAll versions0.28.5.0
ci4-cms-erp/ci4ms PackagistAll versions0.28.5.0

Products include Ci4-Cms-Erp Ci4ms.

How do I fix CVE-2026-25510?

Upgrade ci4-cms-erp/ci4ms to 0.28.5.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-25510 being exploited?

There is no known exploitation of CVE-2026-25510 in the wild and no public exploit code.

Sources

Also known as GHSA-gp56-f67f-m4px.

Is CVE-2026-25510 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free