- Accueil
- Vulnérabilités
- CVE-2025-9906
CVE-2025-9906
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with…
Résumé
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .keras model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This is achieved by crafting a special config.json (a file within the .keras archive) that will invoke keras.config.enable_unsafe_deserialization() to disable safe mode. Once safe mode is disable, one can use the Lambda layer feature of keras, which allows arbitrary Python code in the form of pickled code. Both can appear in the same archive. Simply the keras.config.enable_unsafe_deserialization() needs to appear first in the archive and the Lambda with arbitrary code needs to be second.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Keras (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Keras | de 3.0.0 (inclus) à 3.11.0 (exclu) |
— | 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
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
Références
- https://github.com/keras-team/keras/pull/21429Issue Tracking
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-502 · Désérialisation