Unrestricted File Upload in RuoYi 4.8.1 via CommonController.uploadFile
CVE-2025-7906 Published on July 20, 2025
yangzongzhuan RuoYi CommonController.java uploadFile unrestricted upload
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.
Timeline
Advisory disclosed
VulDB entry created
VulDB entry last update
Weakness Types
What is an Unrestricted File Upload Vulnerability?
The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment.
CVE-2025-7906 has been classified to as an Unrestricted File Upload vulnerability or weakness.
What is an Authorization Vulnerability?
The software does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CVE-2025-7906 has been classified to as an Authorization vulnerability or weakness.
Affected Versions
yangzongzhuan RuoYi:- Version 4.8.0 is affected.
- Version 4.8.1 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.