Submit #840617: YunaiV ruoyi-vue-pro 2026.04-jdk8-SNAPSHOT Arbitrary File Writeinfo

TitleYunaiV ruoyi-vue-pro 2026.04-jdk8-SNAPSHOT Arbitrary File Write
DescriptionA vulnerability has been found in YunaiV ruoyi-vue-pro. The AppFileController file upload endpoint is exposed without authentication through @PermitAll. In local file storage mode, the upload path is built from user-controlled directory and original filename values without proper normalization or traversal checks. As a result, a remote unauthenticated attacker can use path traversal sequences to write uploaded files outside of the configured basePath. Dynamic testing confirmed that files could be written to arbitrary same-drive directories and that frontend assets such as index.html could be overwritten, resulting in persistent cross-site scripting. The issue affects deployments using local file storage.
Source⚠️ https://github.com/YunaiV/ruoyi-vue-pro/issues/1146
User
 wr0ld (UID 98487)
Submission05/28/2026 09:41 (1 month ago)
Moderation06/28/2026 09:56 (1 month later)
StatusAccepted
VulDB entry374536 [YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.04-jdk8-SNAPSHOT AppFileController File Upload Endpoint FileServiceImpl.java generateUploadPath path traversal]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!