{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.8.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e9e07188956043bd19cf688f355b2e1841e04b74"
            }
          ],
          "repo": "https://github.com/yangzongzhuan/ruoyi",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.",
  "id": "CVE-2024-57438",
  "modified": "2026-03-13T21:50:38.853317151Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}