CVE-2026-41891: ci4-cms-erp/ci4ms · CI4MS has a Deactivated User Session Bypass (active=0)
Affects ci4-cms-erp/ci4msSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.31.8.0 when convenient.
Data as of 27 Oct 2026, 00:07 UTC
- Patch
- Available – fixed in 0.31.8.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade ci4-cms-erp/ci4ms to 0.31.8.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistci4-cms-erp/ci4ms | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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?.
References
- github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-5hfv-c864-qcq9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-41891 (opens in a new tab)
- github.com/ci4-cms-erp/ci4ms/commit/2f38284281ce6b435ea42003951f14109ac2cea7 (opens in a new tab)
- github.com/ci4-cms-erp/ci4ms (opens in a new tab)
- github.com/ci4-cms-erp/ci4ms/releases/tag/0.31.8.0 (opens in a new tab)