Skip to main content
CVE-2025-7906VulnerabilityPublished

CVE-2025-7906: yangzongzhuan RuoYi · Unrestricted Upload

Affects yangzongzhuan RuoYiSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 08:11 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 30% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubyangzongzhuan/RuoYipkg:github/yangzongzhuan/RuoYiOther threatsAffected
  • =4.8.0
  • =4.8.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediate mitigation should include restricting access to the uploadFile endpoint by implementing network-level controls such as IP whitelisting or VPN-only access to administrative interfaces. 2. Implement strict server-side validation of uploaded files, including file type, size, and content scanning to prevent malicious payloads. 3. Employ application-layer security controls such as Web Application Firewalls (WAFs) configured to detect and block suspicious upload attempts. 4. Monitor logs for unusual upload activity or file types and set up alerts for anomalous behavior. 5. If possible, upgrade to a patched or newer version of RuoYi that addresses this vulnerability once available. 6. Conduct a thorough security review of all file upload functionalities across the application to identify and remediate similar weaknesses. 7. Isolate the upload directory with minimal permissions and ensure uploaded files cannot be executed directly by the web server. 8. Educate development and operations teams about secure file upload practices to prevent recurrence. 9. Regularly update and patch all components of the RuoYi platform and underlying infrastructure to reduce attack surface.

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.

References

Community reviews

Loading reviews…