CVE-2025-56396 Details
Description
An issue was discovered in Ruoyi 4.8.1 allowing attackers to gain escalated privileges due to the owning department having higher rights than the active user.
A privilege escalation vulnerability exists in RuoYi version 4.8.1. The issue arises from improper access control in the role management feature, specifically within the SysRoleController.java file, and the list() method. This flaw allows low-privileged users to assign high-privileged roles from their own department to themselves, thereby escalating their privileges.
It is recommended to implement proper permission checks in the role management function to prevent low-privileged users from accessing high-privileged roles.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Han-tj/22cfd18fa9f116bb886e8e56782f6865 | [email protected] | Third Party Advisory |
| https://gitee.com/y_project/RuoYi/issues/ICJ865 | [email protected] | ExploitIssue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-284 | Improper Access Control | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| ruoyi ruoyi | 4.8.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Nov 26, 2025 | New CVE Received | [email protected] |