CVE-2025-46175
Executive Summary
Ruoyi v4.8.0 suffers from an incorrect access control flaw: the authRole method in SysUserController.java lacks a checkUserDataScope permission check, allowing attackers to assign roles to users without proper authorization. This enables privilege escalation and unauthorized access to protected resources.
Authoritative CVE Metadata
- CVSS Base Score: 7.5 (HIGH)
- Last Modified: 26-10-26
Original Description
Ruoyi v4.8.0 is vulnerable to Incorrect Access Control. There is a missing checkUserDataScope permission check in the authRole method of SysUserController.java.