Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged RuoYi user
-
ExploitSend crafted request to /system/role/authDataScope
-
ExecutionManipulate roleKey to bypass checkRoleAllowed
-
ImpactAlter role data-scope authorization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated session on the RuoYi management console with at least a low-privileged account (CVSS PR:L) - exploitation is NOT possible unauthenticated. The attacker must reach the /system/role/authDataScope endpoint and supply a manipulated roleKey parameter, which the checkRoleAllowed function does not properly authorize, enabling improper privilege management. Limiting factors: the need for pre-existing authentication, the restriction to low integrity/availability impact (no data exfiltration/confidentiality loss per VC:N), and applicability to RuoYi versions up to and including 4.8.3. Risk rises sharply on instances that permit self-registration or expose low-trust user accounts. |
| Impact | This is a medium-severity (CVSS 4.0 base 5.3) improper privilege management flaw (CWE-269) in the RuoYi framework. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network-reachable, low-complexity exploitation requiring an already-authenticated low-privileged account, with only low integrity and availability impact (VI:L/VA:L) and NO confidentiality impact (VC:N) - so this is a scoped manipulation of role/data-scope authorization rather than a full account takeover or data breach. Exploitation signals are mixed-but-modest: a public exploit exists (POC=YES, consistent with the E:P 'Proof-of-Concept' exploit-maturity flag in the vector), but this is NOT on the CISA KEV list and there is no evidence of active exploitation in the wild. No EPSS score was provided in the input, so real-world exploitation probability cannot be quantified here. The PR:L requirement meaningfully limits risk: an attacker must first obtain a valid (even low-level) authenticated session, making this an insider/privilege-escalation issue rather than a remote-unauthenticated compromise. Net: a real but not top-tier priority - patch in normal cycles, prioritize if the RuoYi instance exposes self-registration or low-trust user accounts. The vendor did not respond to disclosure, so an official fix/advisory may be absent; verify patch availability independently. |
| Exploit ScenarioDerived | An attacker who holds a low-privileged authenticated account on a RuoYi 4.x admin panel sends a crafted request to /system/role/authDataScope manipulating the roleKey argument, which the checkRoleAllowed function fails to validate correctly. This lets the attacker alter role/data-scope authorization settings they should not control, escalating or tampering with privilege assignments. A public proof-of-concept for this exact parameter abuse is available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Improper privilege management in RuoYi up to 4.8.3 allows an authenticated low-privileged attacker to modify role authorization data via the roleKey parameter at the /system/role/authDataScope endpoint, enabling privilege escalation within the management console. Publicly available exploit code exists, and the vendor did not respond to disclosure; no vendor-released patch has been identified at time of analysis. The vulnerability has a CVSS 4.0 base score of 5.3 (medium) with low integrity and availability impact and no confidentiality impact.
RemediationAI
No vendor-released patch has been identified at time of analysis, and the vendor did not respond to the disclosure. As immediate compensating controls, restrict access to the /system/role/authDataScope endpoint so that only highly trusted roles (for example, super administrators) can reach it - this can be enforced via reverse-proxy rules or application-level ACLs, though it may break legitimate role-management workflows for lower-privileged administrators. If the application supports self-registration, disable it to prevent low-trust accounts from being created, at the cost of blocking unauthenticated user onboarding. Add strict server-side validation on the roleKey parameter to ensure it only accepts values that the requesting user is authorized to assign, and log or alert on anomalous roleKey submissions at the endpoint. Monitor for exploitation attempts using the public proof-of-concept as a detection reference. Upgrade to a fixed release once the vendor publishes one; until then, the above restrictions reduce attack surface but do not fully eliminate the risk.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RuoYi is a Java-based rapid application development framework built on Spring Boot, MyBatis, and a security layer (commonly Shiro or Spring Security). The flaw resides in the checkRoleAllowed function of the /system/role/authDataScope endpoint, which is intended to control which roles can modify data scope settings. Because the function fails to properly authorize the roleKey parameter, a user with a valid low-privileged session can supply a manipulated roleKey to alter role permissions beyond their intended authority - a classic CWE-269 improper privilege management issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) indicates network exploitable, low attack complexity, no user interaction, and low privileges required, with only limited integrity and availability impact. The CPE string cpe:2.3:a:yangzongzhuan:ruoyi:*:*:*:*:*:*:*:* confirms that the affected product family is yangzongzhuan RuoYi. Public exploitation details were published in a GitHub security report, confirming the presence of proof-of-concept code.
Know when Ruoyi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable endpoint with low complexity but requires an authenticated low-privileged account (PR:L); impact limited to privilege/data-scope tampering (I:L, A:L) with no confidentiality loss.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the /editSave method in SysNoticeControlle
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the cancelAuthUserAll method does not prop
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobLogId parameter. Rated critical sev
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the changeStatus method. Rated critical se
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the jobId parameter. Rated critical severi
RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit. Rated critical severity
A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. Rated critical severity (CVS
RuoYi v4.8.2 has an access control flaw in the update function allowing unauthorized attackers to modify arbitrary data
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the add method of the /add/{parentId} endp
An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the edit method of the /edit/{dictId} endp
An issue was discovered in Ruoyi 4.8.1 allowing attackers to gain escalated privileges due to the owning department havi
RuoYi v4.7.2 contains a CSV injection vulnerability through ruoyi-admin when a victim opens .xlsx log file. Rated high s
EUVD-2026-97324
GHSA-946j-8q75-jp6v
NVD
CVE.org
EPSS
VulDB
Exploit-DB