Skip to main content

RuoYi-Vue EUVDEUVD-2026-31585

| CVE-2026-9374 MEDIUM
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-05-24 VulDB GHSA-f863-6qfw-2v78
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege application credentials
  2. Delivery
    Authenticate to RuoYi-Vue instance
  3. Exploit
    Craft multipart POST request with malicious file to /common/upload
  4. Execution
    Server stores file without type restriction
  5. Persist
    Request stored file URL to trigger server-side execution
  6. Impact
    Achieve remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires valid low-privilege credentials to the RuoYi-Vue application, as confirmed by the CVSS 4.0 PR:L (low privileges required) designation. The attack targets the /common/upload endpoint, which must be network-accessible (AV:N) and is typically enabled by default in RuoYi-Vue deployments as a core framework feature. No additional non-default configuration is required to expose the vulnerability. Exploitation is bounded by the need for authenticated access - unauthenticated external attackers cannot exploit this directly without first obtaining credentials through a separate attack (e.g., credential stuffing, phishing). Additionally, achieving meaningful impact beyond file storage (e.g., code execution) depends on whether uploaded files are stored in a web-executable location, which is a deployment-configuration factor. SSVC's 'Automatable: no' rating reflects the credential prerequisite as a realistic friction point.

Impact

CVSS 4.0 assigns this a Medium score of 5.3. The vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L indicates network-reachable exploitation with low complexity and no attack prerequisites beyond low-privilege credentials, but with only partial confidentiality, integrity, and availability impact to the vulnerable system and no scope change. EPSS places exploitation probability at 0.03% (9th percentile), indicating the vast majority of CVEs are considered higher exploitation risk - this is a low-priority signal. SSVC reinforces this: Exploitation is 'none', Automatable is 'no' (credential acquisition is a prerequisite), and Technical Impact is 'partial'. Taken together, the signals consistently point to a moderate, non-urgent risk. The most significant real-world concern is that RuoYi-Vue is broadly deployed in environments where many users may hold low-privilege accounts, reducing the practical barrier to exploitation for an insider or a compromised credential holder. However, the absence of a known public exploit, CISA KEV listing, or vendor patch makes this a monitor-and-mitigate scenario rather than an emergency response priority.

Exploit ScenarioDerived

An attacker with low-privilege credentials to a RuoYi-Vue 3.9.x instance - such as a standard internal employee account - sends a crafted multipart HTTP POST request to /common/upload containing a JSP webshell disguised or unrestricted by file type checks. If the uploaded file is stored within the web-accessible directory and no execution restrictions are enforced, the attacker retrieves the file via its public URL to achieve remote code execution on the server. No public proof-of-concept has been identified, but the simplicity of the attack vector (standard HTTP upload, low complexity) means exploitation is straightforward for any attacker with valid credentials.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

Unrestricted file upload in RuoYi-Vue (versions 3.9.0-3.9.2) exposes the FileUploadUtils.upload function at the /common/upload endpoint to arbitrary file upload by authenticated remote attackers, potentially enabling server-side code execution if the uploaded file is accessible and executed by the web server. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 5.3 Medium, reflecting low-privilege authentication as the primary barrier; no compensating controls enforce file-type validation at the endpoint. No public exploit code has been identified and no active exploitation is confirmed, though the vendor did not respond to responsible disclosure, leaving the fix status unresolved.

RemediationAI

No vendor-released patch has been identified at time of analysis - the vendor did not respond to the responsible disclosure attempt, and no fixed version is confirmed in NVD, EUVD, or VulDB data. Organizations running RuoYi-Vue 3.9.0 through 3.9.2 should apply the following compensating controls: First, enforce server-side file type validation by configuring an allowlist of permitted extensions and MIME types in the application's upload configuration, rejecting any file types that can be executed by the web server (e.g., .jsp, .jspx, .war); this directly addresses CWE-434 but requires code-level changes. Second, store uploaded files outside the web root or in a dedicated directory that is not served as executable content by the application server, preventing direct execution even if a dangerous file is uploaded. Third, restrict access to the /common/upload endpoint via network-layer controls (firewall rules, reverse proxy ACLs) to only trusted internal IP ranges, reducing the network-reachable attack surface noted in AV:N. Monitor the RuoYi-Vue GitHub repository at https://github.com/yangzongzhuan/RuoYi-Vue for any upstream commits addressing this issue and apply patches promptly once available.

Affected VersionsENISA

RuoYi-Vue 3.9.0
RuoYi-Vue 3.9.1
RuoYi-Vue 3.9.2

Affected Packages

euvd ruoyi_vue no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RuoYi-Vue is a widely-used Chinese open-source enterprise rapid-development framework built on Spring Boot (backend) with a Vue.js frontend, commonly deployed in internal enterprise and government applications. The vulnerability resides in the FileUploadUtils.upload method, which handles file ingestion at the /common/upload HTTP endpoint. CWE-434 (Unrestricted Upload of File with Dangerous Type) identifies the root cause: the server-side handler fails to adequately restrict the types of files accepted, allowing an attacker to upload executable content (e.g., JSP webshells) alongside benign files. The affected CPE is cpe:2.3:a:yangzongzhuan:ruoyi-vue:*:*:*:*:*:*:*:*, covering all variants through version 3.9.2 as confirmed by EUVD data listing 3.9.0, 3.9.1, and 3.9.2 specifically.

Know when Ruoyi Vue gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.3 MEDIUM
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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 26, 2026 - 20:07 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)

DescriptionCVE.org

A vulnerability was found in yangzongzhuan RuoYi-Vue up to 3.9.2. Impacted is the function FileUploadUtils.upload of the file /common/upload of the component Common Upload Endpoint. Performing a manipulation results in unrestricted upload. The attack is possible to be carried out remotely. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy