1. Accueil
  2. Vulnérabilités
  3. CVE-2026-31217

CVE-2026-31217

The _load_model() function in the neural_magic_training.py script of the optimate project in commit…

Publiée le 12 mai 2026 · modifiée le 19 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 52/100

Résumé

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, allowing an attacker who controls the input directory to execute arbitrary Python code in the context of the process running the script.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Nebuly (1 ligne(s))
Nebuly
ProduitVersionsCorrigé dansSource
Optimate 2024-07-21 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-94 · Injection de commandes / code

Comment sont obtenues et calculées ces données