{"id":"CVE-2024-57438","details":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","aliases":["GHSA-h5jh-rp76-q242"],"modified":"2026-04-10T05:18:58.598049Z","published":"2025-01-29T15:15:17.283Z","references":[{"type":"WEB","url":"https://gitee.com/y_project/RuoYi"},{"type":"WEB","url":"https://ruoyi.vip/"},{"type":"PACKAGE","url":"https://github.com/yangzongzhuan/RuoYi"},{"type":"EVIDENCE","url":"https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yangzongzhuan/ruoyi","events":[{"introduced":"0"},{"last_affected":"e9e07188956043bd19cf688f355b2e1841e04b74"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.8.0"}]}}],"versions":["v2.2","v2.3","v2.4","v3.1","v3.2","v3.3","v3.4","v4.0","v4.1","v4.2","v4.3","v4.3.1","v4.4","v4.5.0","v4.5.1","v4.6.0","v4.6.1","v4.6.2","v4.7.0","v4.7.1","v4.7.2","v4.7.3","v4.7.4","v4.7.5","v4.7.6","v4.7.7","v4.7.8","v4.7.9","v4.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57438.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}