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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Keras | >= 3.0.0, <= 3.10.0 |
References
- https://github.com/keras-team/keras/pull/21429Issue Tracking
- https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/Third Party Advisory
- https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/Third Party Advisory
Timeline
- Published
- Aug 11, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed