{"data":{"id":"902ffb8c-9761-4328-bba1-100123d82c71","title":"CVE-2026-58116: LLaMA-Factory through 0.9.5 contains a remote code execution vulnerability that allows attackers with WebUI access to…","summary":"CVE-2026-58116 affects LLaMA-Factory through 0.9.5. An attacker with WebUI access can execute arbitrary Python code by supplying a malicious model path in the Chat or Training interfaces. The application passes this input unvalidated into AutoTokenizer.from_pretrained() and AutoModel.from_pretrained() with a hardcoded trust_remote_code=True, so the transformers library fetches and runs code from a remote or local model repository with the privileges of the server process.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58116","publishedAt":"2026-06-30T13:19:18.490Z","cveId":"CVE-2026-58116","cweIds":["CWE-94","CWE-829"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":["HuggingFace"],"affectedVendorsRaw":["LLaMA-Factory","Hugging Face transformers"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"LLaMA-Factory remote code execution through WebUI model path input","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00904,"epssCheckedAt":"2026-10-14T12:12:42.648Z","kevDateAdded":null,"advisoryAliases":["GHSA-mwc7-mf87-v3mf"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-10-10T03:47:18.153Z","patchAvailable":null,"disclosureDate":"2026-06-30T13:19:18.490Z","capecIds":["CAPEC-242","CAPEC-437"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null}}