CVE-2026-31217: optimate · CVE-2026-31217 is a critical arbitrary code execution
Affects optimateSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubnebuly-ai/optimatepkg:github/nebuly-ai/optimateOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until an official fix is available, avoid running the vulnerable script with untrusted input for the --model argument. Restrict access to the environment where the script runs to trusted users only and validate or sanitize input paths if possible to prevent supplying malicious directories.
Description
CVE-2026-31217 is a critical arbitrary code execution vulnerability in the optimate project's neural_magic_training.py script. The vulnerability arises because the _load_model() function executes the contents of a module.py file from a user-supplied directory without validation or sanitization. This allows an attacker controlling the input directory to run arbitrary Python code in the context of the running process. The vulnerability has a CVSS score of 9.8, indicating a high impact on confidentiality, integrity, and availability. No official patch or remediation guidance is currently available, and no known exploits have been reported in the wild.