← Back to search

CVE-2026-106705

8.8 HIGHpublic exploit available

Published 2026-10-16 · Updated 2026-10-16

AI risk analysis

Summary
The vulnerability allows authenticated users with the 'roles:edit' permission to modify their own roles and assign arbitrary menu permissions, bypassing proper access controls that should validate both role level and granted menu sets. This creates a potential privilege escalation vector where users can grant themselves additional system access.
Exploitability
Exploitation is straightforward for any user with 'roles:edit' permission who can make a PUT request to /api/roles/menu, requiring only basic authentication and knowledge of the target role ID.
Blast radius
The impact could be significant as attackers could elevate their privileges to access restricted system functions, potentially leading to full administrative control over the application's user management features.
Detection
Monitor for unauthorized PUT requests to /api/roles/menu with modified menu permissions, particularly when the request modifies the authenticated user's own role ID, and check for unusual role assignment patterns in audit logs.
Prioritized remediation
Disable the PUT /api/roles/menu endpoint for non-admin users or implement proper menu validation that prevents modification of the caller's own role, and upgrade to version 2.8 or later where this vulnerability is patched.
access-controlprivilege-escalationapi

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

ELADMIN (eladmin-mp) up to 2.7 contains an improper access control vulnerability in the role management module. The endpoint PUT /api/roles/menu (RoleController.updateRoleMenu) authorizes the request only by comparing the target role's level with the caller's minimum level. The application neither validates the granted menu set nor prevents a caller from modifying its own role. A logged-in non-admin user whose role holds the delegated `roles:edit` permission can submit its own role id together with an arbitrary list of menu ids.

CVSS vector

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

Weaknesses

CWE-284

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.