Description
youlai-boot through 2.21.1 contains a missing authorization vulnerability that allows authenticated users to assign arbitrary menu and button permissions to roles via PUT /api/v1/roles/{roleId}/menus. Low-privileged users such as the GUEST test account can grant all permissions to their own role, refreshing the Redis permission cache to gain administrator-equivalent access.
Published: 2026-10-13
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

The flaw is a missing authorization check on the role menu assignment API in youlai-boot. An authenticated user can send a PUT request to /api/v1/roles/{roleId}/menus and assign any menu or button permissions to a role. When a low‑privileged account, such as the default GUEST account, uses this endpoint, it can grant all permissions to its role and then trigger a cache refresh, effectively elevating itself to an administrator. This is a classic missing access control problem (CWE‑862) that compromises the confidentiality and integrity of the system by allowing an attacker to grant arbitrary privileges to a role they control.

Affected Systems

The affected product is youlaitech youlai-boot, version 2.21.1 and every earlier release. Users running this version or earlier need to upgrade or remediate.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity while the EPSS score of less than 1% reflects a very low but non‑zero probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. An attacker only needs legitimate authentication and network access to the REST API; no advanced skills are required beyond constructing a properly formatted HTTP PUT request to the /api/v1/roles/{roleId}/menus endpoint. When exploited, the attacker achieves administrator‑equivalent privileges, making this a high‑risk issue for any exposed deployment.

Generated by OpenCVE AI on October 17, 2026 at 06:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a youlai-boot release that includes the authorization fix, such as 2.21.2 or newer.
  • Restrict the /api/v1/roles/{roleId}/menus endpoint to users with administrator or explicitly privileged roles and add an authorization check in the controller and service layers.
  • Revoke or minimize privileges of generic accounts, such as GUEST, and audit existing role permissions to ensure no unnecessary permissions are granted.

Generated by OpenCVE AI on October 17, 2026 at 06:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description youlai-boot through 2.21.1 contains a missing authorization vulnerability that allows authenticated users to assign arbitrary menu and button permissions to roles via PUT /api/v1/roles/{roleId}/menus. Low-privileged users such as the GUEST test account can grant all permissions to their own role, refreshing the Redis permission cache to gain administrator-equivalent access.
Title youlai-boot through 2.21.1 Missing Authorization in Role Menu Assignment Allows Privilege Escalation
First Time appeared Youlai
Youlai youlai-boot
Weaknesses CWE-862
CPEs cpe:2.3:a:youlai:youlai-boot:*:*:*:*:*:*:*:*
Vendors & Products Youlai
Youlai youlai-boot
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Youlai Youlai-boot
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T18:36:49.707Z

Reserved: 2026-10-13T17:59:16.387Z

Link: CVE-2026-110215

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T19:18:45.640

Modified: 2026-10-26T19:16:29.207

Link: CVE-2026-110215

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T06:30:05Z

Weaknesses