{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-53002","published":"2025-06-26T15:15:23.873000Z","last_modified":"2026-06-17T09:37:27.313000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-94","CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:hiyouga:llama-factory:*:*:*:*:*:*:*:*","part":"a","vendor":"hiyouga","product":"llama-factory","version_end_excluding":"0.9.4"}],"cpes_truncated":false,"vendors":["hiyouga"],"products":["hiyouga/llama-factory"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xj56-p8mm-qmxj","ecosystem":"PyPI","name":"llamafactory","purl":"pkg:pypi/llamafactory","ranges":[{"introduced":"0","last_affected":"0.9.3"}],"versions":["0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0","0.9.1","0.9.2","0.9.3"],"versions_truncated":false},{"advisory":"PYSEC-2026-1576","ecosystem":"PyPI","name":"llamafactory","purl":"pkg:pypi/llamafactory","ranges":[{"introduced":"0","last_affected":"0.9.3"}],"versions":["0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0","0.9.1","0.9.2","0.9.3"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2025-53002/","html_en":"/en/cve/CVE-2025-53002/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-53002","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-53002"},"untrusted":{"vendor_name":"Hiyouga","product_name":"Llama-factory","desc_en":"LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file` is loaded without proper safeguards, allowing malicious attackers to execute arbitrary malicious code on the host system simply by passing a malicious `Checkpoint path` parameter through the `WebUI` interface. The attack is stealthy, as the victim remains unaware of the exploitation. The root cause is that the `vhead_file` argument is loaded without the secure parameter `weights_only=True`. Version 0.9.4 contains a fix for the issue.","affected":[{"untrusted_vendor":"hiyouga","untrusted_product":"LLaMA-Factory","versions":[]}],"references":[{"url":"https://drive.google.com/file/d/1AddKm2mllsXfuvL4Tvbn_WJdjEOYXx4y/view?usp=sharing","tags":["Exploit"]},{"url":"https://github.com/hiyouga/LLaMA-Factory/commit/bb7bf51554d4ba8432333c35a5e3b52705955ede","tags":["Patch"]},{"url":"https://github.com/hiyouga/LLaMA-Factory/security/advisories/GHSA-xj56-p8mm-qmxj","tags":["Exploit","Third Party Advisory"]}]}}