CVE-2025-7906
CVE-2025-7906 is a medium-severity vulnerability in Ruoyi with a CVSS 3.x base score of 6.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-284.
Key facts
- Severity: Medium (CVSS 3.x base score 6.3)
- CVSS v2: 6.5
- CVSS v4: 2.1
- EPSS exploit prediction: 0% (22nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-22036
- Weakness: CWE-284
- Affected product: Ruoyi
- Published:
- Last modified:
Description
A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1 and classified as critical. This issue affects the function uploadFile of the file ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java. The manipulation of the argument File leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
Frequently asked questions
- What is CVE-2025-7906?
- A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1 and classified as critical. This issue affects the function uploadFile of the file ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java. The manipulation of the argument File leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
- How severe is CVE-2025-7906?
- CVE-2025-7906 has a CVSS 3.x base score of 6.3, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-7906 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (22nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-7906?
- CVE-2025-7906 affects Ruoyi. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-7906?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-7906 have an EU (EUVD) identifier?
- Yes. CVE-2025-7906 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-22036.
- When was CVE-2025-7906 published?
- CVE-2025-7906 was published on 2025-07-20 and last updated on 2026-06-17.
References
- https://github.com/yangzongzhuan/RuoYi/issues/296
- https://vuldb.com/?ctiid.317021
- https://vuldb.com/?id.317021
- https://vuldb.com/?submit.618361
Affected products (1)
- cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*
More vulnerabilities in Ruoyi
- CVE-2024-57521 — Critical (CVSS 10.0): SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the…
- CVE-2025-28413 — Critical (CVSS 9.8): An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the SysDictTypeController component
- CVE-2025-28412 — Critical (CVSS 9.8): An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the /editSave method in…
- CVE-2025-28411 — Critical (CVSS 9.8): An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the editSave method in /tool/gen/editSave
- CVE-2025-28410 — Critical (CVSS 9.8): An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the cancelAuthUserAll method does not…
- CVE-2025-28408 — Critical (CVSS 9.8): An issue in RUoYi v.4.8.0 allows a remote attacker to escalate privileges via the selectDeptTree method of the…
Other CWE-284 (Improper Access Control) vulnerabilities
- CVE-2026-50746 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Access Control vulnerability found in UniFi…
- CVE-2026-46978 — Critical (CVSS 10.0): Vulnerability in the Oracle Solaris product of Oracle Systems (component: Remote Administration Daemon). The…
- CVE-2026-35308 — Critical (CVSS 10.0): Vulnerability in the Oracle Coherence product of Oracle Fusion Middleware (component: Centralized Third Party Jars).…
- CVE-2026-35307 — Critical (CVSS 10.0): Vulnerability in the Oracle Coherence product of Oracle Fusion Middleware (component: Core). Supported versions that…
- CVE-2026-46695 — Critical (CVSS 10.0): Boxlite is a sandbox service that allows users to create lightweight virtual machines (Boxes) and launch OCI containers…
- CVE-2026-46840 — Critical (CVSS 10.0): Vulnerability in Oracle REST Data Services (component: Backend-as-a-Service). Supported versions that are affected are…
Browse all CWE-284 (Improper Access Control) vulnerabilities →