# Duplicate Advisory: The Keras \`Model.load_model\` method \*\*silently\*\* ignores \`safe_mode=True\` and allows arbitrary code execution when a \`.h5\`/\`.hdf5\` file is loaded.

Advisory record · `GHSA-77wq-646f-jrm2` · Withdrawn

- **Identifiers:** `GHSA-77wq-646f-jrm2`
- **State:** Withdrawn
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-913](https://cwe.mitre.org/data/definitions/913.html)
- **Tags:** [CWE-913](https://agentprime.io/advisories/tag/cwe-913.md)
- **Published:** 19 Sept 2025
- **Updated:** 19 Sept 2025
- **Reviewed by a person:** No

**Withdrawn.** The GitHub Advisory Database withdrew this advisory on 19 Sept 2025. The record stays here, marked withdrawn.

Published by the GitHub Advisory Database at 19 Sept 2025, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `keras` (PyPI): affected `>=3.0.0, <3.11.3`; fixed in `3.11.3`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- Score not published, CVSS 4.0: `CVSS:4.0/AV:L/AC:H/AT:P/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:X/R:X/V:X/RE:X/U:X`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 19 Sept 2025. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-77wq-646f-jrm2](https://github.com/advisories/GHSA-77wq-646f-jrm2)
- [OSV: GHSA-77wq-646f-jrm2](https://osv.dev/vulnerability/GHSA-77wq-646f-jrm2)
- <https://github.com/keras-team/keras/security/advisories/GHSA-36rr-ww3j-vrjv>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-9905>
- <https://github.com/keras-team/keras/pull/21602>
- <https://github.com/keras-team/keras>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-77wq-646f-jrm2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-77wq-646f-jrm2/>. Everything for agents: <https://agentprime.io/llms.txt>.
