Keras safe_mode bypass allows arbitrary code execution when loading a malicious model.
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Keras | unaffected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Keras | Keras | — |
Vendor Solution
Upgrade to a version of Keras with the fix implemented (version 3.11.0 or newer).
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-24127 | Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality |
Github GHSA |
GHSA-c9rc-mg46-23w3 | Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.121% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Keras
Keras keras |
|
| Vendors & Products |
Keras
Keras keras |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A safe mode bypass vulnerability in the `Model.load_model` method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted `.keras` model archive. | |
| Title | Keras safe_mode bypass allows arbitrary code execution when loading a malicious model. | |
| Weaknesses | CWE-502 | |
| References |
| |
| Metrics |
cvssV4_0
|