{"id":"CVE-2024-57438","aliases":["CVE-2024-57438","GHSA-h5jh-rp76-q242"],"related":[],"kind":"vulnerability","state":"published","title":"RuoYi has insecure permissions","summary":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.","source":"cvelist"},{"lang":"es","text":"Los permisos inseguros en RuoYi v4.8.0 permiten a atacantes autenticados escalar privilegios al asignarse roles de nivel superior.","source":"nvd"}],"published":"2025-01-29T00:00:00.000Z","modified":"2026-06-17T08:13:35.363Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-276","CWE-863"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.8.0"}],"ecosystem":"Maven","package":"com.ruoyi:ruoyi","purl":"pkg:maven/com.ruoyi/ruoyi","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.8.0"}],"vendor":"ruoyi","product":"ruoyi","cpe":"cpe:2.3:a:ruoyi:ruoyi:4.8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/yangzongzhuan/RuoYi","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gitee.com/y_project/RuoYi","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://ruoyi.vip/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57438","tags":["advisory"],"sources":["ghsa"]},{"url":"https://ruoyi.vip","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-01-29T15:14:41.869Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-57438","url":"https://www.cve.org/CVERecord?id=CVE-2024-57438","licence":"CVE Terms of Use","modified":"2025-02-06T15:33:47.497Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h5jh-rp76-q242","url":"https://github.com/advisories/GHSA-h5jh-rp76-q242","licence":"CC-BY-4.0","modified":"2025-02-06T19:54:08.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-57438","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57438","licence":"Public domain","modified":"2026-06-17T08:13:35.363Z"}],"updatedAt":"2026-11-25T22:58:51.288Z","epss":{"score":0.00569,"percentile":0.40981,"date":"2026-11-30T12:00:22.000Z"}}