Security Resilience

CVE-2025-70986

Access Control in Ruoyi 4.8.1 … 4.8.2

Public PoCAccess Control
Published
23 January 2026
Modified
30 January 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0044 38th percentile
Risk Priority 57 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-70986 is a high-severity Improper Access Control (CWE-284) vulnerability in Ruoyi. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-70986 is an incorrect access control vulnerability in the selectDept function of RuoYi version 4.8.2. This flaw allows unauthorized attackers to arbitrarily access sensitive department data. The vulnerability is associated with CWE-284 (Improper Access Control) and CWE-862 (Missing Authorization), and it has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), indicating high confidentiality impact with no requirements for privileges or user interaction.

Attackers can exploit this vulnerability remotely over the network with low complexity and no authentication. Any unauthenticated adversary who can reach the affected RuoYi instance may invoke the selectDept function to retrieve sensitive department data, potentially exposing organizational structures, employee information, or other confidential details without detection or restriction.

Advisories and related resources for mitigation are available in the following references: a GitHub Gist at https://gist.github.com/old6ma/779320a98f361c299ca024521cb72db6 detailing the issue; the official RuoYi repository on Gitee at https://gitee.com/y_project/RuoYi; an issue tracker entry at https://gitee.com/y_project/RuoYi/issues/IDIDME; and a GitHub mirror at https://github.com/yangzongzhuan/RuoYi. Security practitioners should consult these for patch information or workarounds specific to RuoYi v4.8.2.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Incorrect access control in the selectDept function of RuoYi v4.8.2 allows unauthorized attackers to arbitrarily access sensitive department data.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-6733Shared CWE-284, CWE-862
CVE-2024-7429Shared CWE-284, CWE-862
CVE-2024-12370Shared CWE-284, CWE-862
CVE-2024-0972Shared CWE-284, CWE-862
CVE-2023-2183Shared CWE-284, CWE-862
CVE-2023-6966Shared CWE-284, CWE-862
CVE-2024-1376Shared CWE-284, CWE-862
CVE-2024-1288Shared CWE-284, CWE-862
CVE-2024-0369Shared CWE-284, CWE-862
CVE-2024-37314Shared CWE-284, CWE-862

Affected Assets

ruoyi
ruoyi
4.8.1, 4.8.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Directly enforces approved authorizations for logical access, stopping unauthorized actors from reaching resources.

AC-24 mandates that access control decisions are applied to each request, preventing bypass of authorization logic.

AC-25 requires a tamperproof, always-invoked reference monitor that ensures authorization checks cannot be omitted.

Enforces flow-control policies that restrict information movement between subjects and objects.

Documents duties and assigns access so that no single account can bypass intended restrictions.

Limits each account to the minimum privileges needed, reducing the chance of unauthorized access.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing explicitly validates authentication, access restriction, and cryptography functions, directly catching missing or incorrect access control checks before code reaches production.

removes

Applied where it was not applied before, A.8.3 mandates access restriction policies, configuration mechanisms, per-identity rights, and isolation — which removes the 'no access control' and 'misconfigured access control' instances of CWE-284. The bounded remainder is code-level enforcement bugs in the product's access control mechanism (ACL parse errors that fail open, privilege-raising without rollback, etc.), which a policy/configuration control does not reach.

finds

Ongoing audits and performance reviews of suppliers detect and correct situations where access controls or privilege assignments are weaker than contractually required, limiting an attacker's ability to exploit improper access control in the supplier's environment.

finds

Periodic independent assessment of whether documented security objectives and controls are actually implemented and effective can surface missing or bypassed access-control decisions before they are exploited.

finds

Periodic compliance reviews and corrective-action tracking detect and close gaps where access-control rules are not enforced, reducing the window in which improper access control can be exploited.

finds

By establishing a formal, graduated disciplinary process for confirmed policy violations, the control reduces the likelihood that personnel will intentionally abuse or exceed granted access rights.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-284, a pillar-level weakness. Rules are authored against its narrower children: CWE-749, CWE-1220.
  • No fine-grained STIG row for CWE-862, a class-level weakness, and none of its children carries one either.

References