Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-57438

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-57438
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:21 UTC · Revision 1

Source evidence

CVE-2024-57438

core-osv · Original source

Published 29 Jan 2025, 00:00 UTC

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

osv:CVE-2024-57438
Complete source record
{
  "id": "e23e64e1ace3bd7dbd69772f85022423f9d7c9c14d6a6a9f8b811fe176d754bc",
  "url": "https://osv.dev/vulnerability/CVE-2024-57438",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-57438",
    "summary": "Insecure permissions in RuoYi v4.8.0 allows authenticated attackers to escalate privileges by assigning themselves higher level roles.",
    "evidence": "osv:CVE-2024-57438",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-57438",
      "aliases": [
        "CVE-2024-57438",
        "GHSA-h5jh-rp76-q242"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yangzongzhuan/ruoyi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e9e07188956043bd19cf688f355b2e1841e04b74"
                },
                {
                  "last_affected": "e9e07188956043bd19cf688f355b2e1841e04b74"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ruoyi:ruoyi:4.8.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.8.0"
                      },
                      {
                        "last_affected": "4.8.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.8.0",
            "v4.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57438.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.318670071Z",
      "provider": "osv",
      "references": [
        "https://gitee.com/y_project/RuoYi",
        "https://github.com/peccc/restful_vul/blob/main/ruoyi_insecure_role_assignments/ruoyi_insecure_role_assignments.md",
        "https://ruoyi.vip/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57438.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-57438",
        "https://github.com/yangzongzhuan/RuoYi"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57438.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-57438",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497313,
  "published_at": "2025-01-29T00:00:00+00:00"
}