CVE-2025-7906

Source
https://cve.org/CVERecord?id=CVE-2025-7906
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7906.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-7906
Published
2025-07-20T19:32:05.216Z
Modified
2026-07-15T01:48:57.090870905Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
yangzongzhuan RuoYi CommonController.java uploadFile unrestricted upload
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.

Database specific
{
    "cwe_ids": [
        "CWE-284",
        "CWE-434"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7906.json",
    "cna_assigner": "VulDB"
}
References

Affected packages

Git / github.com/yangzongzhuan/ruoyi

Affected ranges

Type
GIT
Repo
https://github.com/yangzongzhuan/ruoyi
Events
Database specific
{
    "cpe": "cpe:2.3:a:ruoyi:ruoyi:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.8.0"
        },
        {
            "last_affected": "4.8.0"
        },
        {
            "introduced": "4.8.1"
        },
        {
            "last_affected": "4.8.1"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

4.*
4.8.0
4.8.1
v4.*
v4.8.0
v4.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7906.json"