Unrestricted File Upload in RuoYi by yangzongzhuan
CVE-2025-7906

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
20 July 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-7906?

A vulnerability exists in the RuoYi framework that allows attackers to upload files without restriction due to flaws in the uploadFile function located in CommonController.java. This weakness can be exploited remotely, potentially allowing malicious users to execute harmful payloads on affected servers. The issue has been publicly disclosed, emphasizing the need for immediate mitigation measures in vulnerable versions up to 4.8.1.

Affected Version(s)

RuoYi 4.8.0

RuoYi 4.8.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

ZAST.AI (VulDB User)
.
CVE-2025-7906 : Unrestricted File Upload in RuoYi by yangzongzhuan