{"id":"CVE-2026-39393","published":"2026-04-08T14:31:44Z","modified":"2026-04-10T20:29:43Z","title":"Post-Installation Re-entry via Cache-Dependent Install Guard Bypass in ci4ms","vendor":"ci4-cms-erp","product":"ci4ms","tier":"tail","description":{"text":"CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the install route guard in ci4ms relies solely on a volatile cache check (cache('settings')) combined with .env file existence to block post-installation access to the setup wizard. When the database is temporarily unreachable during a cache miss (TTL expiry or admin-triggered cache clear), the guard fails open, allowing an unauthenticated attacker to overwrite the .env file with attacker-controlled database credentials, achieving full application takeover. This vulnerability is fixed in 0.31.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0043,"percentile":0.2898,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-8rh5-4mvx-xj7j","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":5.8},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"ci4-cms-erp","affectedVersions":[{"vendor":"ci4-cms-erp","product":"ci4ms","versions":["< 0.31.4.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-10T20:29:33.263599Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"ci4-cms-erp/ci4ms","vulnerableRanges":["<0.31.4.0"],"patched":["0.31.4.0"],"from":["GHSA-8rh5-4mvx-xj7j"],"provenance":"source"}],"summary":{"text":"The ci4ms CodeIgniter 4-based CMS skeleton contains a flaw in its install route guard, which relies solely on a volatile cache check and .env file existence to block access to the setup wizard after installation. An unauthenticated remote attacker can exploit this when the database is temporarily unreachable during a cache miss, causing the guard to fail open and allowing the .env file to be overwritten with attacker-controlled database credentials, which leads to full application takeover.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:30Z"},"euvd":{"id":"EUVD-2026-20487","exploited":false,"provenance":"source"}}