CVE-2025-46175

Ruoyi v4.8.0 is vulnerable to Incorrect Access Control

High · published November 26, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
22.0
In the wild
Unconfirmed
What it is

⚡ A sneaky gap in access control lets users bypass permission checks! In Ruoyi v4.8.0, the authRole method has a missing checkUserDataScope, and that's a recipe for disaster! Think of this like a hotel with a concierge who doesn't verify guest IDs. Guests could easily access restricted areas without the hotel staff knowing who they really are! An attacker could exploit this oversight to gain unauthorized access to sensitive user data, potentially leading to data leaks or even system manipulation. It's like allowing a stranger into the VIP lounge without anyone batting an eye!

Put simply

Think of this like a hotel with a concierge who doesn't verify guest IDs. Guests could easily access restricted areas without the hotel staff knowing who they really are! This vulnerability arises from a missing permission check in the authRole method of SysUserController.java, allowing users to access data beyond their intended scope.

What to do

An attacker could exploit this oversight to gain unauthorized access to sensitive user data, potentially leading to data leaks or even system manipulation. It's like allowing a stranger into the VIP lounge without anyone batting an eye! Immediately patch Ruoyi to version 4.8.1 or later to include the necessary permission checks. Additionally, perform an audit of user roles and permissions to ensure no unauthorized access exists. Don't let this slip through the cracks! You've got this! By following these steps, you'll be one step closer to securing your system! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00304 · 22.0th percentile
Published
2025-11-26T00:00Z
EPSS history
Timeline
  • 26 NOV 00:00Z
    Ruoyi v4.8.0 is vulnerable to Incorrect Access Control
    cvelistv5