CVE-2025-2708
zhijiantianya ruoyi-vue-pro Backend File Upload upload path traversal
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.
INFO
Published Date :
March 24, 2025, 8:15 p.m.
Last Modified :
Oct. 26, 2026, 5:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-2708
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | LOW | [email protected] |
Solution
- Update the software to the latest version.
- Apply vendor-provided security patches.
- Review file upload handling logic.
- Restrict file upload paths.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-2708.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-2708 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-2708
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-2708 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-2708 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Changed Description A vulnerability, which was classified as critical, was found in zhijiantianya ruoyi-vue-pro 2.4.1. This affects an unknown part of the file /admin-api/infra/file/upload of the component Backend File Upload Interface. The manipulation of the argument path leads to path traversal. It is possible to initiate the attack 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. 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. Added CVSS V4.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/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 Removed CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/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 Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/2xxx/CVE-2025-2708.json">CVE-2025-2708</a> Added Reference https://gitee.com/zhijiantianya/ruoyi-vue-pro/ Added Reference https://gitee.com/zhijiantianya/ruoyi-vue-pro/commit/4ae3f6b2c9883978837638c14e3d18419819eeb0 Added Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Added Reference https://vuldb.com/cve/CVE-2025-2708 Added Reference https://vuldb.com/submit/517030 Added Reference https://vuldb.com/vuln/300729 Added Reference https://vuldb.com/vuln/300729/cti Removed Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Removed Reference https://vuldb.com/?ctiid.300729 Removed Reference https://vuldb.com/?id.300729 Removed Reference https://vuldb.com/?submit.517030 Removed Reference Type https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Types: Exploit, Third Party Advisory Removed Reference Type https://vuldb.com/?ctiid.300729 Types: Permissions Required, VDB Entry Removed Reference Type https://vuldb.com/?id.300729 Types: Third Party Advisory, VDB Entry Removed Reference Type https://vuldb.com/?submit.517030 Types: Third Party Advisory, VDB Entry -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 26, 2026
Action Type Old Value New Value Added Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Removed Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Removed Reference Type https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Types: Exploit, Third Party Advisory -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'zhijiantianya', 'modules': ['Backend File Upload Interface'], 'product': 'ruoyi-vue-pro', 'versions': [{'status': 'affected', 'version': '2.4.1'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-2708', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2025-03-24T20:06:13.990371Z'} -
Reanalysis by [email protected]
Aug. 25, 2025
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:zhijiantianya:ruoyi-vue-pro:2.4.1:*:*:*:*:*:*:* OR *cpe:2.3:a:iocoder:ruoyi-vue-pro:2.4.1:*:*:*:*:*:*:* -
Initial Analysis by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:zhijiantianya:ruoyi-vue-pro:2.4.1:*:*:*:*:*:*:* Added Reference Type CISA-ADP: https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Types: Exploit, Third Party Advisory Added Reference Type VulDB: https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Types: Exploit, Third Party Advisory Added Reference Type VulDB: https://vuldb.com/?ctiid.300729 Types: Permissions Required, VDB Entry Added Reference Type VulDB: https://vuldb.com/?id.300729 Types: Third Party Advisory, VDB Entry Added Reference Type VulDB: https://vuldb.com/?submit.517030 Types: Third Party Advisory, VDB Entry -
New CVE Received by [email protected]
Mar. 24, 2025
Action Type Old Value New Value Added Description A vulnerability, which was classified as critical, was found in zhijiantianya ruoyi-vue-pro 2.4.1. This affects an unknown part of the file /admin-api/infra/file/upload of the component Backend File Upload Interface. The manipulation of the argument path leads to path traversal. It is possible to initiate the attack 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/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 Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:S/C:N/I:P/A:P) Added CWE CWE-22 Added Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end Added Reference https://vuldb.com/?ctiid.300729 Added Reference https://vuldb.com/?id.300729 Added Reference https://vuldb.com/?submit.517030 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 24, 2025
Action Type Old Value New Value Added Reference https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end