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

- Severity: Critical 10.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-23T00:00:00.000Z
- Modified: 2026-10-27T18:10:00.130Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ruoyi ruoyi: up to 4.7.9

## References

- <https://github.com/mrlihd/Ruoyi-4.7.9-SQL-Injection-PoC> (exploit, third-party-advisory)
- <https://github.com/mrlihd/CVE-2024-57521-SQL-Injection-PoC/blob/main/README.md> (exploit, third-party-advisory)
- <https://gitee.com/y_project/RuoYi/commit/ddd858ca732618a472b10eaab2f8e4b45812ffc5> (patch, permissions-required)
- <https://gitee.com/y_project/RuoYi/issues/IBC976> (issue-tracking)

## Sources

- CVE List: [CVE-2024-57521](https://www.cve.org/CVERecord?id=CVE-2024-57521), CVE Terms of Use, modified 2025-12-23
- NVD: [CVE-2024-57521](https://nvd.nist.gov/vuln/detail/CVE-2024-57521), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2024-57521 · Whole record: https://cve.day/CVE-2024-57521.json · Rebuilt by cve.day 2026-11-25T22:58:52.951Z
