# CVE-2024-57438: RuoYi has insecure permissions

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- 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.57%, higher than 41% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-01-29T00:00:00.000Z
- Modified: 2026-06-17T08:13:35.363Z
- Also known as: GHSA-h5jh-rp76-q242
- Weaknesses: CWE-276, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.ruoyi:ruoyi (Maven): up to 4.8.0
- ruoyi ruoyi: 4.8.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <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://gitee.com/y_project/RuoYi> (package, product)
- <https://ruoyi.vip/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-57438> (advisory)
- <https://ruoyi.vip> (web)

## Sources

- CVE List: [CVE-2024-57438](https://www.cve.org/CVERecord?id=CVE-2024-57438), CVE Terms of Use, modified 2025-02-06
- GitHub Advisory Database: [GHSA-h5jh-rp76-q242](https://github.com/advisories/GHSA-h5jh-rp76-q242), CC-BY-4.0, modified 2025-02-06
- NVD: [CVE-2024-57438](https://nvd.nist.gov/vuln/detail/CVE-2024-57438), Public domain, modified 2026-06-17

---

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