Loading...
Skip to main content

CVE-2026-34572

HIGH

CI4MS: Account Deactivation Module Grants Full Persistent Unauthorized Access for All‑Roles via Improper Session Invalidation (Logic Flaw)

Published April 1, 2026Updated May 5, 2026Source: osv

Summary

## Summary ### Vulnerability: Improper Session Invalidation on Account Deactivation (Broken Access Control / Logic Flaw) - This vulnerability is caused by a backend logic flaw that maintains a false trust assumption that already-authenticated users remain trustworthy, even after their accounts are explicitly deactivated. As a result, administrative security actions do not behave as intended, allowing persistent unauthorized access. ### Description The application fails to immediately revoke active user sessions when an account is deactivated. Due to a logic flaw in the backend design, account state changes are enforced only during authentication (login), not for already-established sessions. The system implicitly assumes that authenticated users remain trusted for the lifetime of their session. There is no session expiration or account expiration mechanism in place, causing deactivated accounts to retain indefinite access until the user manually logs out. This behavior breaks the intended access control policy and results in persistent unauthorized access, representing a critical security flaw. ### Affected Functionality - User session management and authentication logic - Account deactivation mechanism - All authenticated endpoints, including administrative and content interfaces ### Attack Scenario - A user logs into the application. - An administrator deactivates the user account. - The user remains fully logged in and can continue performing all actions allowed by their role indefinitely, as there is no session expiration. - The user can continue invoking backend methods, triggering application actions, accessing sensitive interfaces (including user management if permitted), and interacting with the system as if the account were still active. - Access is only lost if the user manually logs out, which may never occur. ### Impact - Unauthorized Continued Access: Deactivated users retain full access indefinitely, violating intended access control and expected security behavior. - Bypass of Administrative Controls: Administrative actions (deactivation) fail to immediately restrict active sessions. - Logic Flaw Resulting in Broken Behavior: Backend authorization logic relies on a flawed trust assumption that authenticated users remain valid, enforcing account state only at login. - Full Functional Access Retained: Deactivated users can continue invoking application methods, executing actions, interacting with protected endpoints, and using the system exactly as before being deactivated. - Privilege Abuse: Users with elevated roles (moderator, editor, administrator) can continue performing privileged actions after account deactivation, including accessing user management interfaces and modifying application state. - Service Disruption Potential: Persistent access allows attackers to disrupt services, manipulate content, or interfere with normal application operations. - Attack Persistence: Attackers can maintain access indefinitely, increasing the risk of data exfiltration, unauthorized modifications, or further privilege escalation. - False Sense of Remediation: Administrators may believe a threat has been mitigated while the deactivated user remains active within the system. Endpoint Example: Any endpoint accessible to authenticated users, including dashboards, administrative interfaces, user management pages, and API endpoints. ## Steps To Reproduce (PoC) 1. Create or use an existing user account. 2. Log into the application using this account. 3. From an administrative account, deactivate the logged-in user account. 4. Observe that the target user remains authenticated. 5. Verify that the user can still access protected functionality, invoke actions, and interact with the application as before. 6. Confirm that the user only loses access after manually logging out (if they choose to do so). ## Remediation - Immediately invalidate all active sessions when an account is deactivated. - Enforce account status checks on every authenticated request, not only during login. - Introduce proper session expiration or account expiration mechanisms to prevent indefinite access. - Correct the backend logic flaw to ensure access control behavior aligns with intended security design and does not rely on unsafe trust assumptions. # Ready Video POC: https://mega.nz/file/zJkhwCII#G1-TecKmNBJmEeBS0ExsAY_RXEmAl3QqMqu4t5oy844

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update ci4-cms-erp/ci4ms to 0.31.0.0 or later
composer require "ci4-cms-erp/ci4ms:^0.31.0.0"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
ci4-cms-erp/ci4ms
packagist
0.21.0, 0.21.1, 0.21.2, 0.21.3 (+43 more)0.31.0.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-34572?
CI4MS: Account Deactivation Module Grants Full Persistent Unauthorized Access for All‑Roles via Improper Session Invalidation (Logic Flaw) This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2026-34572?
CVE-2026-34572 affects ci4-cms-erp/ci4ms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34572 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-8fq3-c5w3-pj3q

Related CVEs

  • CVE-2026-34560
    CRITICAL

    CI4MS: Logs Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34557
    CRITICAL

    CI4MS: Permissions Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34558
    CRITICAL

    CI4MS: Methods Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34989
    CRITICAL

    CI4MS: Profile & User Management Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34568
    CRITICAL

    CI4MS: Blogs Posts Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-34565
    CRITICAL

    CI4MS: Menu Management (Posts) Full Account Takeover for All-Roles & Privilege-Escalation via Stored DOM XSS

  • CVE-2026-41202
    CRITICAL

    CI4MS Backup::restore is vulnerable to Zip Slip leading to RCE

  • CVE-2026-41203
    CRITICAL

    CI4MS Theme::upload is vulnerable to Zip Slip leading to RCE

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies