En resumen
- CVE-2026-41891 es una vulnerabilidad MEDIO (CVSS 5.3) que afecta a ci4-cms-erp/ci4ms.
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.27%, mayor que el 19.2% de las vulnerabilidades.
- Solución: actualizar a 0.31.8.0 o posterior.
| Package | Affected versions | Patched versions |
|---|
| ci4-cms-erp/ci4ms Packagist | ≥ 0.26.0, < 0.31.8.0
| 0.31.8.0
|
Description
Summary
The auth filter has the deactivated/banned user check commented out.
Details
CodeIgniter Shield's loggedIn() re-checks the status field (catching status='banned'), but does not re-check the active field for existing sessions. When an admin deactivates a user (active=0) after they have already logged in:
- Their session cookie remains valid
auth()->loggedIn() still returns true
- The commented-out code is the only mechanism that would have checked
!$user->active
Evidence
<img width="981" height="654" alt="image" src="https://github.com/user-attachments/assets/6f75d144-5bcf-4a3f-bc35-bb0715c3ed05" />
Impact
- User deactivation does NOT immediately revoke backend access
- Deactivated user retains full access until session expires (default: 7200s)
Additional note
The commented-out block appears to be a deferred placeholder — it was written but disabled from the very first commit that introduced the filter, and has never been active. The later addition of SessionTracker (v0.31.4.0) suggests the dev was aware of the session revocation gap, but account-level deactivation (users.active = 0) remains unenforced. Could you verify if this is intentionally pending or simply forgotten and not documented?.
NVD description
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 to before version 0.31.8.0, the auth filter has the deactivated/banned user check commented out. This issue has been patched in version 0.31.8.0.
Más vulnerabilidades de ci4-cms-erp/ci4ms
Ver todo →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free