CVE-2025-8747
HIGH 8.6CVSS 4.0Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality
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.
- Published
- 11 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-c9rc-mg46-23w3PYSEC-2025-75
- Sources
- NVDJSONOSV GHSA-c9rc-mg46-23w3JSONOSV PYSEC-2025-75JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 4.0 | HIGH 8.6 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | keras | kerascpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.10.0 | |
| OSV | PyPI | keras | >= 3.0.0, < 3.11.0 | 3.11.0 |
| OSV | PyPI | keras |
References
- https://github.com/keras-team/keras/pull/21429 · Issue Tracking, WEB, REPORT
- https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/ · Third Party Advisory, WEB, ADVISORY
- https://github.com/keras-team/keras/security/advisories/GHSA-c9rc-mg46-23w3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-8747 · ADVISORY
- https://github.com/keras-team/keras/commit/713172ab56b864e59e2aa79b1a51b0e728bba858 · WEB
- https://github.com/keras-team/keras · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-75.yaml · WEB
- https://github.com/advisories/GHSA-c9rc-mg46-23w3 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Aug 2025)