{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.8.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "227d522eada11e426faad473705e69b4c16f144c"
            }
          ],
          "repo": "https://github.com/yangzongzhuan/ruoyi",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1 and classified as critical. This issue affects the function uploadFile of the file ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java. The manipulation of the argument File leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.",
  "id": "CVE-2025-7906",
  "modified": "2026-03-15T21:46:51.232087322Z",
  "published": "2025-07-20T20:15:24.230Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.618361"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.317021"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/yangzongzhuan/RuoYi/issues/296"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.317021"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}