CVE-2024-57438 RuoYi has insecure permissions

Medium 5.4 Published Updated

Authenticated attackers can escalate privileges by assigning themselves higher-level roles due to insecure permissions in RuoYi.

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-2024-57438?

CVE-2024-57438 is a medium-severity vulnerability in Ruoyi Ruoyi, published on 29 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.

Weakness: CWE-863

Which versions are affected by CVE-2024-57438?

2 open source packages ship an affected version, including com.ruoyi:ruoyi. It affects 1 product.

PackageAffectedFixed in
com.ruoyi:ruoyi MavenAll versions to 4.8.0None
com.ruoyi:ruoyi MavenAll versions to 4.8.0None

Products include Ruoyi Ruoyi.

How do I fix CVE-2024-57438?

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

Is CVE-2024-57438 being exploited?

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

All Ruoyi Ruoyi vulnerabilities

Sources

Also known as GHSA-h5jh-rp76-q242.

Is CVE-2024-57438 in your software?

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

Check your SBOMs for free