Read the docs
TI-2026-32972 Aliases CVE-2026-45139GHSA-245j-xjvr-xvm5

CI4MS Fileeditor allows deletion and rename of critical application files due to missing…

Priority MEDIUM 64CWE-73Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

CI4MS is a CodeIgniter 4-based content management system skeleton. Prior to version 0.31.9.0, the Fileeditor module enforces an extension allowlist (`['css','js','html','txt','json','sql','md']`) on content-write operations (`saveFile`, `createFile`), but two destructive endpoints — `deleteFileOrFolder` and `renameFile` — never validate the extension of the *source* path. A backend user with file-editor permissions can therefore unlink or rename any file inside the project root that is not explicitly listed in the small `$hiddenItems` blocklist. Critical framework files such as `app/Config/Routes.php`, `app/Config/App.php`, `app/Config/Database.php`, `app/Config/Filters.php`, `public/index.php`, and `public/.htaccess` all live outside that blocklist and can be destroyed, producing a persistent denial of service that requires filesystem-level redeployment to recover. Version 0.31.9.0 patches the issue.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00322 25th percentileScored 2026-11-07
Fix Fixed ci4ms (ci4-cms-erp): 0.31.9.0ci4-cms-erp/ci4ms (Packagist): 0.31.9.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ci4-cms-erpci4msbefore 0.31.9.00.31.9.0Patch availableCNA
—ci4-cms-erp/ci4ms (Packagist)before 0.31.9.00.31.9.0Patch availableGHSA-245j-xjvr-xvm5
  • ci4ms Vendorci4-cms-erp Affected before 0.31.9.0 Fixed in 0.31.9.0 Patch available CNA
  • ci4-cms-erp/ci4ms (Packagist) Vendor— Affected before 0.31.9.0 Fixed in 0.31.9.0 Patch available GHSA-245j-xjvr-xvm5

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*——ci4-cms-erp
  • cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* Versions — — ·ci4-cms-erp

Remediation

  • Fix · CNA ci4ms (ci4-cms-erp) Fixed in 0.31.9.0
  • Fix · GHSA-245j-xjvr-xvm5 ci4-cms-erp/ci4ms (Packagist) Fixed in 0.31.9.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45139
  2. 2026-10-03 Alias added: GHSA-245j-xjvr-xvm5

References

  • TI-2026-26819 Improper access control in ci4-cms-erp ci4ms CVSS 3.1HIGH 8.8
  • TI-2026-30140 CI4MS: Unrestricted PHP File Upload via Theme Installation Leads to Authenticated Remote Code Execution CVSS 4.0HIGH 8.6
  • TI-2026-29823 ci4ms Theme::upload is vulnerable to Zip Slip leading to RCE CVSS 4.0CRITICAL 9.4
  • TI-2026-29822 ci4ms Backup::restore is vulnerable to Zip Slip leading to RCE CVSS 4.0CRITICAL 9.4
  • TI-2026-28379 CI4MS has an .env CRLF Injection via Unvalidated `host` Parameter in Install Controller CVSS 3.1CRITICAL 9.8
  • TI-2026-27211 Cross-site scripting in ci4-cms-erp ci4ms CVSS 4.0CRITICAL 9.4
See all 35 →

Sources