CVE-2025-66735
HighCVSS 7.5Exploitation Probability (EPSS)
Low risk38th percentile - higher than 38% of all known CVEs
Summary
youlai-boot V2.21.1 is vulnerable to Incorrect Access Control. The getRoleForm function in SysRoleController.java does not perform permission checks, which may allow non-root users to directly access root roles.
Risk Assessment
Lower-privileged users may gain access to root role information, potentially leading to privilege escalation or disclosure of sensitive data. The risk affects access control within the application.
Recommendation
Add permission checks to the getRoleForm function or upgrade youlai-boot to a version containing the fix. Until patched, restrict access to the administrative interface.
Other vulnerabilities in youlai-boot
See all- CVE-2025-55469Critical
Incorrect access control in youlai-boot v2.21.1 allows attackers to escalate privileges and access the Administrator backend.
- CVE-2026-110216High
youlai-boot through 2.21.1 contains a missing authorization vulnerability that allows any authenticated user to enable or disable accounts because the updateUserStatus handler lacks a @PreAuthorize check. Attackers can send PATCH requests to /api/v1/users/{userId}/status to disable root or admin accounts, locking administrators out, or re-enable accounts an administrator has disabled.
- CVE-2026-110215High
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.
- CVE-2026-7672Medium
A vulnerability was detected in youlai-boot up to 2.21.1 in the getUserList function of UserController.java (Users Endpoint). Manipulation of the order argument leads to SQL injection. The attack can be launched remotely and the exploit is publicly disclosed.
Original NVD description (English source)
youlai-boot V2.21.1 is vulnerable to Incorrect Access Control. The getRoleForm function in SysRoleController.java does not perform permission checks, which may allow non-root users to directly access root roles.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

