Home / Ruoyi / Ruoyi / CVE-2024-57438
CVE-2024-57438: is it exploited, and which versions of Ruoyi are affected and fixed?
CVE-2024-57438 is an incorrect authorization vulnerability in Ruoyi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: com.ruoyi:ruoyi through 4.8.0 (GitHub advisory GHSA-h5jh-rp76-q242). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.4, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2024-57438?
Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.
From the CVE record by mitre, last updated February 6, 2025, 15:33 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.ruoyi:ruoyi | <= 4.8.0 | none listed | GHSA-h5jh-rp76-q242 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 6, 2025. Summary: RuoYi has insecure permissions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ruoyi | ruoyi | 4.8.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:13 UTC.
How severe is CVE-2024-57438?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-57438 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, January 29, 2025)
- EPSS
- 0.37% probability of exploitation activity in the next 30 days, percentile 33.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/yangzongzhuan/RuoYi
- https://gitee.com/y_project/RuoYi
- https://ruoyi.vip/
- https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md
When was it published, and where is the official record?
- Reserved
- January 9, 2025
- Published
- January 29, 2025, 00:00 UTC
- CVE record updated
- February 6, 2025, 15:33 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 08:13 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ruoyi?
- Jan 23, 2026CVE-2025-70986 Ruoyi: improper access control
- Jan 23, 2026CVE-2025-70985 Ruoyi: improper access control
- Dec 23, 2025CVE-2024-57521 Ruoyi: SQL injection
- Dec 12, 2025CVE-2025-67342 Ruoyi: cross-site scripting (XSS)
- Nov 26, 2025CVE-2025-56396 Ruoyi: improper access control
- Nov 26, 2025CVE-2025-46175 Ruoyi: missing authorization
- Nov 26, 2025CVE-2025-46174 Ruoyi: missing authorization
- Apr 7, 2025CVE-2025-28413 Ruoyi: improper access control
Questions about CVE-2024-57438
Is CVE-2024-57438 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.37% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ruoyi are affected by CVE-2024-57438?
com.ruoyi:ruoyi through 4.8.0, per the GitHub advisory GHSA-h5jh-rp76-q242. The tables above give every range the sources list.
Which version fixes CVE-2024-57438?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-57438?
Medium (5.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-57438?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.