Sceawere

Vulnerability Detail

CVE-2026-108825UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

RuoYi Improper Privilege Management Vulnerability

Vulnerability Metadata

Severity
Medium
Score / CVSS
5.4
Creation Date
3h ago
Vendor
yangzongzhuan
Product
RuoYi
Attack Type
Improper Privilege Management
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack Complexity
LOW

Narrative and Response

Description

A vulnerability has been found in yangzongzhuan RuoYi up to 4.8.3. This affects the function checkRoleAllowed of the file /system/role/authDataScope. Such manipulation of the argument roleKey leads to improper privilege management. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "5.4",
  "pubDate": "2026-10-12T11:17:10.690Z",
  "pubdate": "2026-10-12T11:17:10.690Z",
  "executiveSummary": "A critical privilege management vulnerability has been identified in the yangzongzhuan RuoYi framework, affecting all versions up to 4.8.3.\nThe vulnerability resides within the role authorization logic, specifically involving the improper validation of the 'roleKey' parameter during data scope assignment.\nThis flaw allows a remote, unauthenticated or unauthorized attacker to manipulate role permissions, potentially leading to privilege escalation or unauthorized data access.\nGiven that exploit details have been publicly disclosed and the vendor has not provided a responsive remediation path, the risk of exploitation remains high for systems utilizing the default implementation of the affected modules.\nThe vulnerability highlights a failure in input validation and access control enforcement within the administrative authorization functions.\nOrganizations relying on RuoYi are exposed to unauthorized administrative control if appropriate compensating security controls are not implemented immediately.",
  "technicalDetails": "The vulnerability is localized within the 'checkRoleAllowed' function located in the '/system/role/authDataScope' path of the RuoYi framework. The root cause originates from insufficient server-side validation of the 'roleKey' argument passed during the authorization data scope update process.\nIn the application logic, the 'checkRoleAllowed' function is intended to verify whether the currently logged-in user possesses the authority to modify or assign specific role permissions. However, the implementation fails to enforce strict boundary checks or verify the integrity of the 'roleKey' parameter against the authenticated user's session context.\nThe attack flow begins when an attacker identifies the endpoint responsible for updating role data scopes. By crafting a malicious request, an attacker can manipulate the 'roleKey' parameter to bypass established access control lists (ACLs). Because the framework fails to re-validate the role's ownership or scope permissions before updating the system state, the application permits the modification of roles that the attacker should not have authorization to manage.\nBy supplying a specifically crafted payload within the 'roleKey' field, an attacker can elevate their own privileges or modify the permissions of existing administrative accounts. Since the function lacks necessary integrity checks, the underlying database record for the affected role is updated with the attacker's supplied parameters, effectively overriding existing security constraints.\nThe attack is remotely executable, meaning it does not require local system access or physical interaction with the host server. The absence of proper server-side sanitization and secondary authorization checks means that the function executes the operation based on the manipulated input without confirming that the requested change is permissible under the current authorization policy.\nThe post-exploitation impact is severe, as it facilitates full unauthorized privilege management. Once the 'roleKey' is manipulated, the attacker can grant themselves elevated roles, access sensitive data scopes, or perform administrative actions that were previously restricted. This improper privilege management essentially breaks the isolation between different user tiers within the RuoYi administrative backend."
}
CVE-2026-108825: RuoYi Improper Privilege Management Vulnerability (MEDIUM Severity, CVSS: 5.4) | Sceawere