GHSA-36fq-jgmw-4r9c · 深刻度: high · エコシステム: pip — Keras is vulnerable to Deserialization of Untrusted Data
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.
総合評価: CVE-2025-9906 は低リスク(37.4/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.19%、8 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.07% | 0.19% | +0.12% |
| 2 | 2026-02-16 | 0.05% | 0.07% | +0.02% |
| 3 | 2026-02-15 | — | 0.05% | — |
EPSS の全履歴 (全 8 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.6 | 4.0 | HIGH |
|
— | — | [email protected] |
| 7.3 | 3.1 | HIGH |
|
1.3 | 5.9 | [email protected] |
GHSA-36fq-jgmw-4r9c · 深刻度: high · エコシステム: pip — Keras is vulnerable to Deserialization of Untrusted Data
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-9906 not yet assigned priority: Debian including 1 source packages (keras), 1 status rows across 1 suites (bullseye): open 1. | https://security-tracker.debian.org/tracker/CVE-2025-9906 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-9906 |
ubuntu
|
medium | CVE-2025-9906 medium priority: Ubuntu including 1 source packages (keras), 7 status rows across 7 suites (bionic, focal, jammy, noble, plucky, questing, upstream): DNE 4, needs-triage 3. | https://ubuntu.com/security/CVE-2025-9906 |
| URL | タグ |
|---|---|
| https://github.com/keras-team/keras/pull/21429 | Issue Tracking |