CVE-2025-46174

Ruoyi v4.8.0 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 crucial access control check is missing in Ruoyi v4.8.0, allowing unauthorized password resets! 🚨 Think of it as a hotel front desk that resets room keys without verifying the guest's identity — anyone could waltz in and take over a room without showing proof of stay! This could lead to unauthorized users gaining access to sensitive accounts, potentially altering personal data or even locking out legitimate users. Imagine the chaos if your account could be hijacked simply by guessing your username!

Put simply

Think of it as a hotel front desk that resets room keys without verifying the guest's identity — anyone could waltz in and take over a room without showing proof of stay! The vulnerability stems from a missing permission check in the resetPwd method of SysUserController.java, meaning any authenticated user can reset passwords for other users without proper authorization.

What to do

This could lead to unauthorized users gaining access to sensitive accounts, potentially altering personal data or even locking out legitimate users. Imagine the chaos if your account could be hijacked simply by guessing your username! To secure your application, update to version 4.8.1 where this flaw is patched. Additionally, implement strict permission checks in your user management functions to prevent unauthorized actions. Regular audits of access control measures can help maintain security. You've got this! Follow these steps and reinforce your defenses! 🛡️

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 vulnerable to Incorrect Access Control
    cvelistv5