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-111365 Overview
CVE-2026-111365 is an authorization bypass vulnerability in cool-admin-midway through version 8.0.0. The framework fails to verify role ownership on its system role endpoints, allowing any admin holding ordinary sys:role permissions to read, modify, or delete roles belonging to other admins. By submitting an arbitrary role id to /admin/sys/role/info, /admin/sys/role/update, or /admin/sys/role/delete, a non-superadmin attacker can rewrite menu and department grants assigned to other users. The flaw is classified under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
An authenticated low-privilege admin can tamper with any other admin's role, including elevating their own effective access and disrupting legitimate administrators.
Affected Products
- cool-admin-midway versions up to and including 8.0.0
- Applications built on the cool-team-official Midway backend using the base sys/role module
- Deployments exposing /admin/sys/role/* endpoints to multi-tenant admin users
Discovery Timeline
- 2026-10-15 - CVE-2026-111365 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111365
Vulnerability Analysis
The cool-admin-midway framework exposes a conventional CRUD surface for system roles under /admin/sys/role/. The controller delegates to a shared base service that accepts a role id from the request body or query string and performs the requested operation directly against the database. The service does not validate whether the calling admin owns the role or belongs to a scope authorized to manage it.
Any admin assigned the ordinary sys:role permission can therefore enumerate role ids and invoke info, update, or delete against roles created by other admins. The update path lets the attacker rewrite the menuIdList and departmentIdList associated with another admin's role, effectively changing which menus and data scopes that admin can access.
Root Cause
The root cause is missing ownership enforcement in the base role service. Authentication and the coarse-grained sys:role permission check pass, but no per-object authorization compares the target role's owner against the current admin's identity or scope. This is a textbook Insecure Direct Object Reference pattern described by CWE-639.
Attack Vector
Exploitation requires an authenticated admin session with the standard sys:role permission, which is routinely granted to non-superadmin operators. The attacker enumerates role ids returned by list endpoints, then issues requests to /admin/sys/role/info, /admin/sys/role/update, or /admin/sys/role/delete with a victim role id. See the VulnCheck advisory and the HackMD analysis for full request traces and the vulnerable code paths in role.ts controller and role.ts service.
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-111365
Indicators of Compromise
- Requests to /admin/sys/role/info, /admin/sys/role/update, or /admin/sys/role/delete where the id parameter does not match any role previously created or listed by the calling admin.
- Unexpected modifications to menuIdList or departmentIdList on existing role records.
- Audit log gaps around role mutations where the actor is not a superadmin.
Detection Strategies
- Correlate the authenticated admin id in session logs with the owner of the role id touched by each sys/role API call and alert on mismatches.
- Baseline each admin's typical role management activity and flag out-of-band role deletions or privilege-granting updates.
- Hunt for sequential role id enumeration patterns against /admin/sys/role/info originating from a single session.
Monitoring Recommendations
- Enable verbose application logging for all sys/role CRUD operations, capturing actor, target role id, and before/after payloads.
- Forward application and reverse-proxy logs into a central analytics pipeline for cross-session correlation and long-term retention.
- Alert on any delete or update against roles belonging to superadmin or privileged tenants.
How to Mitigate CVE-2026-111365
Immediate Actions Required
- Restrict the sys:role permission to trusted administrators only until a patched release is deployed.
- Review all existing roles for unauthorized changes to menuIdList and departmentIdList and restore known-good values.
- Rotate admin credentials for any account suspected of being used to pivot through the vulnerable endpoints.
Patch Information
At the time of publication, no fixed version is listed in the NVD entry. Track the cool-admin-midway repository and the VulnCheck advisory for an upstream fix. Any remediation must add an ownership or scope check in the base role service before executing info, update, or delete operations.
Workarounds
- Add a middleware or service-layer guard that resolves the target role, compares its owner or tenant to the current admin, and rejects cross-tenant access.
- Place the /admin/sys/role/* routes behind an API gateway rule that permits only superadmin accounts.
- Temporarily disable update and delete on the role endpoints for non-superadmin roles via framework-level route filtering.
# Example reverse-proxy guard restricting sys/role mutations to superadmin tokens
location ~ ^/admin/sys/role/(update|delete|info)$ {
if ($http_x_admin_role != "superadmin") {
return 403;
}
proxy_pass http://cool_admin_backend;
}
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

