PYSEC-2025-75
At a glance
- Published
- Updated
- CVE
- CVE-2025-8747
- Aliases
- GHSA-c9rc-mg46-23w3
- CVSS_V3
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · keras |
References
- https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/ ADVISORY
- https://github.com/keras-team/keras/pull/21429 REPORT
- https://github.com/advisories/GHSA-c9rc-mg46-23w3 ADVISORY
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — PyPA Advisory Database |