{"cve":"CVE-2025-8747","nvd":{"published":"2025-08-11T08:15:26.507","modified":"2026-06-17T10:07:32.913","status":"Analyzed","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.","cvss_v4":{"vector":"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/AU:Y/R:A","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-502"],"references":["https://github.com/keras-team/keras/pull/21429","https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/","https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/"],"products":["keras:keras"],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-8747","score":0.00125,"percentile":0.02171,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-c9rc-mg46-23w3","url":"https://osv.dev/vulnerability/GHSA-c9rc-mg46-23w3","summary":"Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality","modified":"2026-09-10T03:50:26.914457472Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":[">=3.0.0 <3.11.0"],"fixed":["3.11.0"]}]},{"id":"PYSEC-2025-75","url":"https://osv.dev/vulnerability/PYSEC-2025-75","summary":"","modified":"2026-06-10T17:01:51.695015230Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":[],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}