Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-31217: The _load_model() function in the neural_magic_training.py script of the optimate project in commit a6d302f912

48
This month
CRITICAL 9.8REMOTEDOWNGRADE

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

The _load_model() function in the neural_magic_training.py script of the optimate project in commit a6d302f912b481c94370811af6b11402f51d377f (2024-07-21) allows arbitrary code execution. When a user supplies a directory path via the --model command-line argument, the function reads a module.py file from that directory and executes its contents directly using Python's exec() function. This design does not validate or sanitize the file's content, a

Why this priority

  • Critical severity
  • Remotely exploitable, no login, no user action

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.4% (top 63%)
CISA exploited listNo
WeaknessCWE-94
Published2026-05-12
Last modified2026-10-19
Publisher (CNA): MITRE · Vendor: nebuly

Share: LinkedIn · X · Reddit

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

Am I affected?

Timeline

nebuly optimate DOWNGRADE
Affected: 2024-07-21
Fixed in: no fixed release known
Safe to downgrade to: a release before 2024-07-21
1. Check installed version
apt-cache policy optimate || rpm -q optimate || optimate --version
2. No fixed release: DOWNGRADE to a release before 2024-07-21 (Debian / Ubuntu)
apt-cache madison optimate sudo apt install optimate=<VERSION_BEFORE_2024-07-21> sudo apt-mark hold optimate
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list optimate sudo dnf downgrade optimate-<VERSION_BEFORE_2024-07-21> sudo dnf versionlock add optimate
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
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-31217?

optimate: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-31217 being exploited?

CVE-2026-31217 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-31217 affect?

CVE-2026-31217 affects optimate. Severity is critical (CVSS 9.8). The _load_model() function in the neural_magic_training.py script of the optimate project in commit a6d302f912b481c94370811af6b11402f51d377f (2024-07-21) allows arbitrary code execution. When a user supplies a directory path via the --model

How urgent is CVE-2026-31217?

Priority 48/100. Critical severity; Remotely exploitable, no login, no user action

Software pages

Python 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.