CVE-2026-13528: Path Traversal in RuoYi-Vue-Pro File Upload (CVSS 7.3)
A path traversal vulnerability exists in the file upload functionality of RuoYi-Vue-Pro, an open-source application framework. An attacker can craft a malicious file upload request that bypasses directory restrictions, allowing them to write files outside the intended upload directory. This could lead to unauthorized file creation, modification, or access to sensitive application files. The vulnerability requires no authentication and can be triggered remotely over the network.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 7.3 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-29 / 2026-06-29
NVD description (verbatim)
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.
8 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13528 is a path traversal flaw (CWE-22) in the generateUploadPath function within FileServiceImpl.java of the RuoYi-Vue-Pro framework. The AppFileController's file upload endpoint fails to properly sanitize or validate the file path during upload operations, enabling attackers to use directory traversal sequences (such as ../ or absolute paths) to place files in arbitrary locations on the server filesystem. The CVSS v3.1 score of 7.3 reflects the high severity, with low attack complexity and no authentication requirement. The vulnerability affects versions up to 2026.04-jdk8-SNAPSHOT.
Business impact
Organizations using RuoYi-Vue-Pro in production environments face significant risk. An attacker could overwrite critical application files, inject malicious code into the application directory, or exfiltrate sensitive data if upload directories are accessible. This could result in complete application compromise, data breaches, or lateral movement within the hosting infrastructure. The public nature of the exploit and low attack barrier make this an attractive target for opportunistic and sophisticated threat actors.
Affected systems
RuoYi-Vue-Pro versions up to and including 2026.04-jdk8-SNAPSHOT are vulnerable. The vulnerability resides in the file upload component used by the application framework. Organizations should inventory all instances of this framework, particularly those exposed to untrusted networks or integrated with other services. Downstream products and commercial distributions of RuoYi-Vue-Pro may also be affected; verify with your vendor.
Exploitability
This vulnerability is highly exploitable. The attack vector is network-based, requires no authentication, and involves low complexity—an attacker simply needs to send a crafted file upload request with path traversal payloads. Public exploit code is available, lowering the barrier to exploitation. The absence of user interaction requirements (no social engineering needed) further increases risk. Automated scanning and exploitation tools are likely already in circulation.
Remediation
Apply the patch identified by commit hash 4ae3f6b2c9883978837638c14e3d18419819eeb0 to your RuoYi-Vue-Pro installation immediately. If patching is not immediately feasible, implement compensating controls: restrict file upload functionality to authenticated users only, validate and sanitize all file paths using allowlist-based approaches, disable directory traversal sequences in upload parameters, and configure filesystem permissions to prevent write access outside designated directories. Monitor upload directories for unexpected files.
Patch guidance
Obtain the patched version from the official RuoYi-Vue-Pro repository using the commit hash 4ae3f6b2c9883978837638c14e3d18419819eeb0. Verify the patch includes proper input validation in the generateUploadPath function and secure path canonicalization. Test the patched version in a non-production environment to confirm upload functionality works as expected and no legitimate use cases are broken. Deploy during a maintenance window to minimize disruption. If using a commercial or third-party distribution of RuoYi-Vue-Pro, contact your vendor for patched releases and timelines.
Detection guidance
Monitor file upload endpoints for requests containing path traversal patterns (../, .., encoded variations like %2e%2e%2f, or absolute paths). Log and alert on any uploads that attempt to write outside the configured upload directory. Review recent file modifications in application directories to detect if exploitation has already occurred. Check web server access logs for POST requests to the /infra/file or similar endpoints with suspicious parameters. Implement Web Application Firewall (WAF) rules to block common path traversal signatures. Establish baseline file integrity monitoring on application directories to detect unauthorized changes.
Why prioritize this
This vulnerability merits immediate attention due to the combination of high CVSS score (7.3), network accessibility, zero authentication requirement, low attack complexity, public exploit availability, and severe potential impact (file system compromise leading to code execution or data theft). Any organization running RuoYi-Vue-Pro should treat this as critical for remediation planning.
Risk score, explained
The CVSS v3.1 score of 7.3 (HIGH) reflects: network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), unchanged scope (S:U), and confidentiality, integrity, and availability impacts (C:L/I:L/A:L). While individual impacts are rated as Low, the combination of exploitability factors and multi-faceted compromise potential justifies the HIGH rating. In real-world scenarios, this could enable escalation to remote code execution.
Frequently asked questions
Do I need to be authenticated to exploit this vulnerability?
No. The vulnerability requires no authentication, making it accessible to any attacker with network access to the file upload endpoint.
What file systems or operating systems are affected?
Any system running a vulnerable version of RuoYi-Vue-Pro is affected, regardless of the underlying operating system (Linux, Windows, etc.). The impact depends on filesystem permissions and the privileges under which the application runs.
Is this vulnerability exploited in the wild?
The vulnerability has been publicly disclosed and proof-of-concept code is available. This increases the likelihood of opportunistic exploitation, though we cannot confirm active wild exploitation without additional threat intelligence.
Can I work around this without patching?
Partial mitigation is possible through compensating controls: enforce strict input validation on upload paths, disable upload functionality entirely if not needed, use a reverse proxy to restrict upload requests, and apply filesystem-level access controls. However, a proper patch is the only complete remediation.
This analysis is based on publicly available vulnerability data and vendor advisories as of the publication date. CVSS scores and CVE details are provided for informational purposes and may be subject to updates. Organizations must verify all patch versions and compatibility with their specific environment before deployment. This document does not constitute professional security advice; consult with your security team or a qualified security professional for tailored guidance. The availability of public exploit code increases risk; prioritize patching accordingly. Vendor advisories and upstream RuoYi-Vue-Pro documentation are authoritative sources for remediation steps. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2016-20076HIGHWordPress Simple-Backup 2.7.11 Unauthenticated File Access & Deletion Vulnerability
- CVE-2016-20081HIGHHB Audio Gallery Lite Path Traversal Vulnerability – Unauthenticated File Download
- CVE-2017-20248HIGHApptha Slider Gallery Path Traversal Vulnerability
- CVE-2017-20250HIGHMac Photo Gallery 3.0 Path Traversal File Download Vulnerability
- CVE-2018-25408HIGHOpen ISES Project Path Traversal Vulnerability (High Severity)
- CVE-2024-32729HIGHPath Traversal in QuantumCloud Conversational Forms for ChatBot (CVSS 7.5)
- CVE-2024-40646HIGHVertex Path Traversal Vulnerability – Remote File Access Risk
- CVE-2025-60223HIGHWPBot Pro Arbitrary File Deletion Vulnerability – HIGH Risk Exploit