CVE-2025-2707 zhijiantianya ruoyi-vue-pro Front-End Store upload path traversal

Medium 5.3 Published Updated

Attackers can exploit a path traversal flaw in the file upload interface to read or modify arbitrary files on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-2707?

CVE-2025-2707 is a medium-severity path traversal vulnerability in zhijiantianya ruoyi-vue-pro, published on 24 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was determined in zhijiantianya ruoyi-vue-pro 2.4.1. This impacts an unknown function of the file /app-api/infra/file/upload of the component Front-End Store Interface. This manipulation of the argument path causes path traversal. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. Patch name: 4ae3f6b2c9883978837638c14e3d18419819eeb0. It is recommended to apply a patch to fix this issue.

Weakness: CWE-22

Which versions are affected by CVE-2025-2707?

It affects 1 product.

Products include Iocoder Ruoyi-Vue-Pro.

How do I fix CVE-2025-2707?

No fix has been published for CVE-2025-2707 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-2707 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2707 exists.

Sources

Also known as GHSA-4gqh-r946-jvgc.

Is CVE-2025-2707 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free