Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-accessible unauthenticated upload endpoint, no interaction needed; all impact metrics Low as traversal enables bounded file read/write without full system compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was found in YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.04-jdk8-SNAPSHOT. The impacted element is the function generateUploadPath of the file yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/file/FileServiceImpl.java of the component AppFileController File Upload Endpoint. Performing a manipulation results in path traversal. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The patch is named 4ae3f6b2c9883978837638c14e3d18419819eeb0. It is recommended to apply a patch to fix this issue. This product is published by multiple vendors.
AnalysisAI
Path traversal in the ruoyi-vue-pro file upload endpoint exposes unauthenticated remote attackers to arbitrary file read and write operations via the generateUploadPath function in FileServiceImpl.java. All versions up to 2026.04-jdk8-SNAPSHOT are confirmed affected across both the YunaiV (GitHub) and zhijiantianya (Gitee) vendor distributions. Publicly available exploit code exists via GitHub issue #1146; no CISA KEV listing is present, but the unauthenticated network vector combined with a public proof-of-concept materially elevates operational risk above the CVSS 4.0 base score of 6.9 alone.
Technical ContextAI
ruoyi-vue-pro is a Java Spring Boot-based open-source rapid application development framework widely used in Chinese enterprise software projects. The vulnerable code resides in the yudao-module-infra module, specifically FileServiceImpl.java, within the generateUploadPath function called by the AppFileController file upload endpoint. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) arises here because user-supplied input - likely a filename or path parameter in the upload request - is incorporated into the constructed file storage path without canonicalization or boundary enforcement, allowing ../ or equivalent traversal sequences to escape the intended upload directory. The dual CPE entries (cpe:2.3:a:yunaiv:ruoyi-vue-pro and cpe:2.3:a:zhijiantianya:ruoyi-vue-pro) reflect the product's parallel distribution across GitHub and Gitee repositories under effectively the same codebase.
RemediationAI
Apply the vendor-released patch commit 4ae3f6b2c9883978837638c14e3d18419819eeb0 available on Gitee at https://gitee.com/zhijiantianya/ruoyi-vue-pro/commit/4ae3f6b2c9883978837638c14e3d18419819eeb0. A specific tagged release version incorporating this fix was not confirmed in the available data - operators should update to the latest repository HEAD and verify commit inclusion before deploying. As a compensating control while awaiting patch deployment, restrict network access to the AppFileController file upload endpoint via WAF rules or reverse-proxy ACLs, limiting it to authenticated internal users or known IP ranges; note this disables upload functionality for unrestricted users. Additionally, enforce input validation at the API gateway layer by rejecting request parameters containing traversal sequences (../, ..%2F, %2e%2e%2f) - this degrades gracefully but may require tuning to avoid false positives on legitimate filenames containing dots.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-40025
GHSA-6q7h-qg7r-3g9c