GHSA-5478-V2W6-C6Q7: keras PyPI
Vulnerability summary
GHSA-5478-V2W6-C6Q7 is a high (CVSS 7.3) vulnerability in keras PyPI.
Timeline
- 11-03-2025PublishedVulnerability first disclosed.
- 11-03-2025Last modifiedVulnerability information updated.
Description
Duplicate Advisory: Keras arbitrary code execution vulnerability # Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-48g7-3x6r-xfhp. This link is maintained to preserve external references. # Original Description The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
PyPI1 product
- keras< 3.9.0
1 vendor · 1 product
References
5 links- github.com/keras-team/kerasPACKAGE