{"schemaVersion":3,"id":"GHSA-PWQ7-2GVJ-VG9V","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Duplicate Advisory: Keras safe mode bypass vulnerability\n\n### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-c9rc-mg46-23w3. This link is maintained to preserve external references.\n\n### Original Description\nA 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.","dates":{"published":"2025-08-11T09:30:36.000Z","modified":"2025-08-12T19:34:14.243Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","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","computed":true,"selection":"version-preference"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.6,"severity":"high","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","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"PyPI","product":"keras","name":"keras","label":"keras","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/keras","purlType":"pypi","versions":[{"text":"≥ 3.0.0, < 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.0.0, < 3.11.0","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-8747","label":"nvd.nist.gov/vuln/detail/CVE-2025-8747","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/keras-team/keras/pull/21429","label":"github.com/keras-team/keras/pull/21429","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keras-team/keras/commit/713172ab56b864e59e2aa79b1a51b0e728bba858","label":"github.com/keras-team/keras/commit/713172ab56b864e59e2aa79b1a51b0e728bba858","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/keras-team/keras","label":"github.com/keras-team/keras","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability","label":"jfrog.com/blog/keras-safe_mode-bypass-vulnerability","hostname":"jfrog.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-11T09:30:36.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-12T19:34:14.243Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T15:43:41.251Z","stale":false,"partial":false}}