CVE-2026-1462
Keras has an untrusted deserialization vulnerability
8.8
HIGH
CVSS 3.1
EPSS 0.36%
描述
A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.
如何修補 CVE-2026-1462
要修補 CVE-2026-1462,請將受影響套件升級到下列已修補版本。
- —升級至 3.13.2 或更新版本
- —升級至 3.13.2 或更新版本
CVE-2026-1462 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 3.13.2
- from 0, < 3.13.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |