Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111366 Overview
CVE-2026-111366 is an authorization bypass vulnerability affecting cool-admin-midway through version 8.0.0. The flaw allows department-scoped administrators to manage user accounts belonging to departments outside their assigned scope. Attackers holding sys:user:* permissions can supply arbitrary user identifiers to /admin/sys/user/info, /admin/sys/user/update, and /admin/sys/user/delete endpoints. This grants read access to records, the ability to reset passwords and roles, and the ability to delete accounts. The weakness is classified under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Low-privileged department admins can take over any administrator account, including superuser accounts, by resetting credentials and roles through the exposed user management endpoints.
Affected Products
- cool-admin-midway versions through 8.0.0
- Applications built on the cool-admin-midway base CRUD framework
- Deployments exposing /admin/sys/user/* endpoints to authenticated department admins
Discovery Timeline
- 2026-10-15 - CVE-2026-111366 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111366
Vulnerability Analysis
The vulnerability resides in the system user service of cool-admin-midway, specifically in the info, update, and delete handlers of src/modules/base/service/sys/user.ts. These handlers accept a user id parameter from the request and operate on the matching record without verifying that the target user belongs to a department under the caller's control. Any authenticated administrator holding the sys:user:info, sys:user:update, or sys:user:delete permission can therefore act on records outside their department boundary. The base CRUD layer applies department filters only to list queries, leaving record-level operations unprotected.
Root Cause
The root cause is missing object-level authorization on user-identified resources. The service trusts the caller-supplied id to resolve the target record, then applies role and department updates based solely on request body contents. There is no ownership check comparing the target user's departmentId against the caller's accessible department set before persistence.
Attack Vector
An authenticated department-limited admin issues a POST request to /admin/sys/user/info with the id of a victim user to disclose account details. The same actor can then call /admin/sys/user/update with a crafted payload to assign a new password, email, or role list, including superuser roles. Account deletion is reachable through /admin/sys/user/delete. The attack requires high privileges relative to the application but no user interaction, and is executed over the network. Technical details are documented in the HackMD analysis and the VulnCheck advisory.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-111366
Indicators of Compromise
- Requests to /admin/sys/user/info, /admin/sys/user/update, or /admin/sys/user/delete referencing user IDs outside the caller's department scope
- Unexpected role changes assigning administrative or superuser roles to previously limited accounts
- Password reset events triggered through /admin/sys/user/update without a corresponding user-initiated workflow
- User deletion events originating from non-superuser accounts
Detection Strategies
- Compare each sys/user write request's target id against the caller's department membership and alert on mismatches
- Baseline normal role assignment patterns per admin and flag outliers that elevate privileges
- Correlate sys/user/update events with subsequent logins from new IP addresses or user agents
Monitoring Recommendations
- Enable verbose audit logging for all /admin/sys/user/* endpoints, capturing caller identity, target id, and payload diff
- Forward application logs to a centralized analytics platform and build detections on cross-department user modifications
- Monitor administrative account inventories for unexpected role or department changes on a scheduled basis
How to Mitigate CVE-2026-111366
Immediate Actions Required
- Restrict the sys:user:info, sys:user:update, and sys:user:delete permissions to superuser roles until a patched release is adopted
- Audit administrator accounts for unauthorized role elevations, password resets, or deletions since deployment
- Rotate credentials for any administrator account whose record may have been modified by a lower-privileged admin
Patch Information
At the time of publication, the cool-admin-midway repository does not list a fixed release addressing CVE-2026-111366. Operators should track the project for a version above 8.0.0 that introduces department-scoped ownership checks in src/modules/base/service/sys/user.ts. Review the vulnerable logic at the info/update handler and the service initialization when validating any backport.
Workarounds
- Add a middleware or service-level check that resolves the target user's departmentId and rejects requests when the caller cannot administer that department
- Remove the sys:user:info, sys:user:update, and sys:user:delete permissions from department-limited role templates
- Place the /admin/sys/user/* routes behind an upstream proxy that enforces role-based allowlisting for sensitive endpoints
- Disable the department-admin role entirely if business operations permit, routing user management through a dedicated superuser team
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

