CVE-2026-39393
HIGH 8.1CVSS 3.1CI4MS Vulnerable to Post-Installation Re-entry via Cache-Dependent Install Guard Bypass
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.
- Published
- 8 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-306
- Also known as
- GHSA-8rh5-4mvx-xj7j
- Sources
- NVDJSONOSV GHSA-8rh5-4mvx-xj7jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ci4-cms-erp | ci4mscpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:* |
< 0.31.4.0 | 0.31.4.0 |
| OSV | Packagist | ci4-cms-erp/ci4ms | < 0.31.4.0 | 0.31.4.0 |
References
- https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-8rh5-4mvx-xj7j · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39393 · ADVISORY
- https://github.com/ci4-cms-erp/ci4ms · PACKAGE
- https://github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.4.0 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Apr 2026)