- Veröffentlicht
- 19.09.2025 10:15
- Zuletzt geändert
- 19.11.2026
- EPSS (30 Tage)
- 0.2 %
- CVSS-Vektor
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 1 betroffen, 1 behoben, 1 nicht betroffen.
Red Hat OpenShift AI (RHOAI)
Betroffenwird nicht behoben
rhoai/odh-modelmesh-runtime-adapter-rhel8
Nicht betroffen (1)
Red Hat OpenShift AI 2.25Nicht betroffenverwundbarer Code nicht enthaltenrhoai
Weitere betroffene Pakete (8)
Azure Linux:3keras3.3.3-4AZL-67508
CVEKeras-team/Keras3.0.0 → 3.11.0CVE-2025-9906
Debian:11keraskein Fix bekanntDEBIAN-CVE-2025-9906
NVDkeras:keras3.0.0 → 3.11.0CVE-2025-9906
PyPIkeras3.11.0GHSA-36fq-jgmw-4r9c
PyPIkeraskein Fix bekanntPYSEC-2025-76
Ubuntu:18.04:LTSkeraskein Fix bekanntUBUNTU-CVE-2025-9906
Ubuntu:20.04:LTSkeraskein Fix bekanntUBUNTU-CVE-2025-9906
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/keras-team/keras/pull/21429
- nvd.nist.gov/vuln/detail/CVE-2025-9906
- security-tracker.debian.org/tracker/CVE-2025-9906
- github.com/keras-team/keras/commit/713172ab56b864e59e2aa79b1a51b0e728bba858
- github.com/keras-team/keras
- github.com/keras-team/keras/releases/tag/v3.11.0
- github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-76.yaml
- osv.dev/vulnerability/CVE-2025-9906
- github.com/advisories/GHSA-36fq-jgmw-4r9c
- ubuntu.com/security/CVE-2025-9906
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-9906.json
- access.redhat.com/security/cve/CVE-2025-9906
- bugzilla.redhat.com/show_bug.cgi