Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The Keras package (PyPI keras, versions >=3.0.0 and <3.11.3) silently ignores safe_mode=True when Model.load_model is used on .h5 or .hdf5 files, so no safety check runs. An attacker who supplies a malicious model file that a victim loads, for example one distributed on a model hub, can run arbitrary code with the privileges of the Keras process, and no further interaction is needed. Upgrade keras to version 3.11.3 or later. Avoid loading .h5 or .hdf5 files from untrusted sources.
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 | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.3 | High | 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 | CNA (Google) |
- CISA KEV Not listed.
- EPSS 0.0022, the 12th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:34 UTC First seen by agentprime
- 31 Oct 2026, 14:34 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-36rr-ww3j-vrjv
- OSV: GHSA-36rr-ww3j-vrjv
- github.com/keras-team/keras/security/advisories/GHSA-36rr-ww3j-vrjv
- nvd.nist.gov/vuln/detail/CVE-2025-9905
- github.com/keras-team/keras/pull/21602
- github.com/keras-team/keras
- github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-123.yaml