# CVE-2025-2742: zhijiantianya ruoyi-vue-pro Material Upload Interface upload-permanent 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`
- 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.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-25T06:31:07.259Z
- Modified: 2026-06-17T09:07:32.567Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as critical was found in zhijiantianya ruoyi-vue-pro 2.4.1. This vulnerability affects unknown code of the file /admin-api/mp/material/upload-permanent of the component Material Upload Interface. The manipulation of the argument File leads to path traversal. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

(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`
- 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`
- 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`
- VulDB: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#5arbitrary-file-deletion-vulnerability---uploadpermanentmaterial> (exploit, third-party-advisory)
- <https://vuldb.com/?id.300844> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.300844> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.519691> (third-party-advisory, vdb-entry)

## Sources

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

---

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