MediumVulnerabilityLLM-specific
CVE-2025-46567: LLama Factory insecure deserialization in llamafy_baichuan2.py via torch.load()
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-46567
- Published
- Record updated
- Affected
- llamafactory <= 0.9.2
- Fixed in
- 0.9.3
- released June 16, 2025, 46 days after disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
CVE-2025-46567 affects LLama Factory versions prior to 1.0.0. The llamafy_baichuan2.py script calls torch.load() on user-supplied .bin files from an input directory, which is insecure deserialization (CWE-502). A crafted .bin file can execute arbitrary commands during deserialization.
Mitigation
This issue has been patched in version 1.0.0.
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online