Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-58116: LLaMA-Factory through 0.9.5 contains a remote code execution vulnerability that allows attackers with WebUI ac

62
This week
CRITICAL 9.8REMOTEUPGRADE

CVE-2026-58116 is a critical-severity flaw (CVSS 9.8) affecting llama-factory. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 librar

Why this priority

  • Critical severity
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 40%)
CISA exploited listNo
WeaknessCWE-94, CWE-829
Published2026-06-30
Last modified2026-10-25
Publisher (CNA): VulnCheck · Vendor: hiyouga

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

hiyouga llama-factory UPGRADE
Affected: <= 0.9.5
Fixed in: newer than 0.9.5
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy llama-factory || rpm -q llama-factory || llama-factory --version
2. UPGRADE to newer than 0.9.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade llama-factory
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade llama-factory
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · mingw-qt5-qtwebkit · FIXED · 5.212.0-0.46.alpha4.fc46 · FEDORA-2026-46ae541c22 · source
sudo dnf upgrade --advisory=FEDORA-2026-46ae541c22
Fedora ELN · kdominate · FIXED · 26.08.2-2.eln159 · FEDORA-2026-b1d98239fd · source
sudo dnf upgrade --advisory=FEDORA-2026-b1d98239fd

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-58116?

llama-factory: upgrade to newer than 0.9.5. Exact commands for each OS are on this page.

Is CVE-2026-58116 being exploited?

CVE-2026-58116 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-58116 affect?

CVE-2026-58116 affects llama-factory. Severity is critical (CVSS 9.8). 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 pass

How urgent is CVE-2026-58116?

Priority 62/100. Critical severity; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Python vulnerabilities · OpenAI and LLM tools vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.