CVE-2026-39394Ci4-cms-erp Ci4ms
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Ci4-cms-erp · Ci4-cms-erp Ci4ms Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 8 abr 2026
- Actualizada
- 24 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-93
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
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::index() controller reads the host POST parameter without any validation and passes it directly into updateEnvSettings(), which writes it into the .env file via preg_replace(). Because newline characters in the value are not stripped, an attacker can inject arbitrary configuration directives into the .env file. The install routes have CSRF protection explicitly disabled, and the InstallFilter can be bypassed when cache('settings') is empty (cache expiry or fresh deployment). This vulnerability is fixed in 0.31.4.0.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Ci4ms.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | ci4-cms-erp/ci4ms |
< 0.31.4.0 |
0.31.4.0 |
composer require "ci4-cms-erp/ci4ms:^0.31.4.0" |
Según OSV / GitHub Advisories (GHSA-vfhx-5459-qhqh). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| ci4-cms-erp | ci4ms | < 0.31.4.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Exploit Vendor Advisory