{"id":"PYSEC-2025-75","details":"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.","aliases":["CVE-2025-8747","GHSA-c9rc-mg46-23w3"],"modified":"2026-06-10T17:01:51.695015230Z","published":"2025-08-11T08:15:26.507Z","references":[{"type":"ADVISORY","url":"https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/"},{"type":"REPORT","url":"https://github.com/keras-team/keras/pull/21429"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c9rc-mg46-23w3"}],"affected":[{"package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/keras/PYSEC-2025-75.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}