Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-57521: SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via

61
This week
CRITICAL 10.0REMOTEUPGRADE

CVE-2024-57521 is a critical-severity flaw (CVSS 10.0) affecting ruoyi. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java.

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score10.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.7% (top 48%)
CISA exploited listNo
WeaknessCWE-89
Published2025-12-23
Last modified2026-10-27
Publisher (CNA): MITRE · Vendor: ruoyi

Share: LinkedIn · X · Reddit

Last updated 2026-10-27 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ruoyi ruoyi UPGRADE
Affected: <= 4.7.9
Fixed in: newer than 4.7.9
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ruoyi || rpm -q ruoyi || ruoyi --version
2. UPGRADE to newer than 4.7.9 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ruoyi
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ruoyi
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · proftpd · FIXED · 1.3.9e-1.fc46 · FEDORA-2026-fc0d87d66e · source
sudo dnf upgrade --advisory=FEDORA-2026-fc0d87d66e

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-57521?

ruoyi: upgrade to newer than 4.7.9. Exact commands for each OS are on this page.

Is CVE-2024-57521 being exploited?

CVE-2024-57521 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-57521 affect?

CVE-2024-57521 affects ruoyi. Severity is critical (CVSS 10.0). SQL Injection vulnerability in RuoYi v.4.7.9 and before allows a remote attacker to execute arbitrary code via the createTable function in SqlUtil.java.

How urgent is CVE-2024-57521?

Priority 61/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Java vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.