CVE-2026-39393

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) CI4MS es un esqueleto de CMS basado en CodeIgniter 4 que ofrece una arquitectura modular lista para producción con autorización RBAC y soporte de temas. Antes de la versión 0.31.4.0, el guardián de ruta de instalación en ci4ms se basa únicamente en una verificación de caché volátil (cache('settings')) combinada con la existencia del archivo .env para bloquear el acceso post-instalación al asistente de configuración. Cuando la base de datos no está disponible temporalmente durante un fallo de caché (caducidad de TTL o borrado de caché activado por el administrador), el guardián falla abierto, permitiendo a un atacante no autenticado sobrescribir el archivo .env con credenciales de base de datos controladas por el atacante, logrando una toma de control completa de la aplicación. Esta vulnerabilidad se corrige en la versión 0.31.4.0.

16 Apr 2026, 00:02

Type Values Removed Values Added
First Time Ci4-cms-erp
Ci4-cms-erp ci4ms
CPE cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*
References () https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-8rh5-4mvx-xj7j - () https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-8rh5-4mvx-xj7j - Exploit, Vendor Advisory

08 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 15:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-39393

Mitre link : CVE-2026-39393

CVE.ORG link : CVE-2026-39393


JSON object : View

Products Affected

ci4-cms-erp

  • ci4ms
CWE
CWE-306

Missing Authentication for Critical Function