CVE-2025-2744 zhijiantianya ruoyi-vue-pro Material Upload Interface upload-news-image path traversal

Medium 5.3 Published Updated

Remote attackers with permissions can exploit path traversal in the material upload interface to read or modify arbitrary files.

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-2744?

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

Official description

A vulnerability, which was classified as critical, was found in zhijiantianya ruoyi-vue-pro 2.4.1. Affected is an unknown function of the file /admin-api/mp/material/upload-news-image of the component Material Upload Interface. The manipulation of the argument File leads to path traversal. It is possible to launch 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.

Weakness: CWE-22

Which versions are affected by CVE-2025-2744?

It affects 1 product.

Products include Iocoder Ruoyi-Vue-Pro.

How do I fix CVE-2025-2744?

No fix has been published for CVE-2025-2744 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-2744 being exploited?

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

Sources

Also known as GHSA-9r2v-hq4w-8pc6.

Is CVE-2025-2744 in your software?

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

Check your SBOMs for free