CVE-2026-45139
Published:July 20, 2026
Updated:July 21, 2026
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.
Affected Packages
ci4-cms-erp/ci4ms (PHP):
Affected version(s) >=dev-feature/shield-integration <0.31.9.0Fix Suggestion:
Update to version 0.31.9.0Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
External Control of File Name or Path
EPSS
Base Score:
0.27