# CVE-2025-2708: zhijiantianya ruoyi-vue-pro Backend File Upload upload path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-24T19:31:03.576Z
- Modified: 2026-10-26T17:17:11.440Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was identified in zhijiantianya ruoyi-vue-pro 2.4.1. Affected is an unknown function of the file /admin-api/infra/file/upload of the component Backend File Upload Interface. Such manipulation of the argument path leads to path traversal. The attack may be performed from remote. The exploit is publicly available and might be used. The name of the patch is 4ae3f6b2c9883978837638c14e3d18419819eeb0. Applying a patch is advised to resolve this issue.

(As written by CVE List.)

## Affected

- zhijiantianya ruoyi-vue-pro: 2.4.1
- iocoder ruoyi-vue-pro: 2.4.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P/E:POC/RL:OF/RC:C`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end> (exploit, third-party-advisory)
- <https://vuldb.com/vuln/300729> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/300729/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2025-2708> (third-party-advisory)
- <https://vuldb.com/submit/517030> (third-party-advisory)
- <https://gitee.com/zhijiantianya/ruoyi-vue-pro/commit/4ae3f6b2c9883978837638c14e3d18419819eeb0> (patch)
- <https://gitee.com/zhijiantianya/ruoyi-vue-pro/> (product)

## Sources

- CVE List: [CVE-2025-2708](https://www.cve.org/CVERecord?id=CVE-2025-2708), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2025-2708](https://nvd.nist.gov/vuln/detail/CVE-2025-2708), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2025-2708 · Whole record: https://cve.day/CVE-2025-2708.json · Rebuilt by cve.day 2026-11-25T22:58:55.478Z
