CVE-2024-57438
MEDIUM 5.4CVSS 3.1RuoYi has insecure permissions
Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.
- Published
- 29 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-276CWE-863
- Also known as
- GHSA-h5jh-rp76-q242
- Sources
- NVDJSONOSV GHSA-h5jh-rp76-q242JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruoyi | ruoyicpe:2.3:a:ruoyi:ruoyi:4.8.0:*:*:*:*:*:*:* |
= 4.8.0 | |
| OSV | Maven | com.ruoyi:ruoyi | <= 4.8.0 |
References
- https://gitee.com/y_project/RuoYi · Product, PACKAGE
- https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md · Exploit, Third Party Advisory, WEB
- https://github.com/yangzongzhuan/RuoYi · Product, WEB
- https://ruoyi.vip/ · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-57438 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 29 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jan 2025)