{"id":"CVE-2026-41587","summary":"CI4MS: Unrestricted PHP File Upload via Theme Installation Leads to Authenticated Remote Code Execution","details":"CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. From version 0.26.0.0 to before version 0.31.7.0, a theme upload feature allows any authenticated backend user with theme-upload permission to achieve remote code execution (RCE) by uploading a crafted ZIP file. PHP files inside the ZIP are installed into the web-accessible public/ directory with no extension or content filtering, making them directly executable via HTTP. This issue has been patched in version 0.31.7.0.","aliases":["GHSA-fw49-9xq4-gmx6"],"modified":"2026-07-08T08:13:13.086719999Z","published":"2026-05-07T03:14:38.631Z","database_specific":{"cwe_ids":["CWE-434"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41587.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41587.json"},{"type":"ADVISORY","url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-fw49-9xq4-gmx6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41587"},{"type":"FIX","url":"https://github.com/ci4-cms-erp/ci4ms/commit/b969465e71eacd9eb57014ad1fce1fc34fa7bca0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ci4-cms-erp/ci4ms","events":[{"introduced":"fb60f5a96a76953c1c24740fc5d616c765d0aec6"},{"fixed":"adb241b82b8b3369358530289e90f123ee77a9a6"}],"database_specific":{"extracted_events":[{"introduced":"0.26.0.0"},{"fixed":"0.31.7.0"}],"source":"AFFECTED_FIELD"}}],"versions":["0.31.6.0","0.31.5.0","0.31.4.0","0.31.3.0","0.31.2.0","0.31.1.0","0.31.0.0","0.28.6.0","0.28.5.0","0.28.4.0","0.28.3.0","0.28.0.0","0.27.0.0","0.26.3.4","0.26.3.3","0.26.3.2","0.26.3.1","0.26.3.0","0.26.2.0","0.26.1.0","0.26.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41587.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}