Vulnerability · Published Jul 20, 2025 · Assigned by VulDB
CVE-2025-7906yangzongzhuan RuoYi CommonController.java uploadFile unrestricted upload
Medium 6.3
In plain English
A medium-severity unrestricted file upload in RuoYi from yangzongzhuan. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| yangzongzhuan | RuoYi | 4.8.04.8.1 |
Weakness: CWE-434, CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-317021 | yangzongzhuan RuoYi CommonController.java uploadFile unrestricted upload vdb-entry, technical-description
- VDB-317021 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #618361 | RuoYi https://github.com/yangzongzhuan/RuoYi <=v4.8.1 Dangerous type of file upload (CWE-434) third-party-advisory
- https://github.com/yangzongzhuan/RuoYi/issues/296 exploit, issue-tracking