{"@context":"https://openvex.dev/ns/v0.2.0","@id":"https://database.harborguard.co/cve/CVE-2026-58116/vex.json","author":"HarborGuard Database","role":"Document Creator","timestamp":"2026-06-30T14:06:16.566Z","version":1,"tooling":"HarborGuard Database (https://database.harborguard.co)","statements":[{"vulnerability":{"name":"CVE-2026-58116","@id":"https://www.cve.org/CVERecord?id=CVE-2026-58116","description":"LLaMA-Factory through 0.9.5 contains a remote code execution vulnerability that allows attackers with WebUI access to execute arbitrary Python code by supplying a malicious model path in the Chat or Training interfaces. The application passes user-supplied model path input unvalidated into AutoTokenizer.from_pretrained() and AutoModel.from_pretrained() with a hardcoded trust_remote_code=True parameter, causing the Hugging Face transformers library to fetch and execute arbitrary code from a remot"},"products":[{"@id":"cpe:2.3:a:hiyouga:llamafactory:*:*:*:*:*:*:*:*","identifiers":{"cpe23":"cpe:2.3:a:hiyouga:llamafactory:*:*:*:*:*:*:*:*"}}],"status":"affected","action_statement":"No fixed version is published yet; monitor the upstream advisory.","timestamp":"2026-06-30T14:06:16.566Z"}]}