Arbitrary Code Execution in Keras ML Framework
Key Information:
- Vendor
Google
- Status
- CVE ID
- CVE ID:
- CVE-2025-1550
- Vendor
- CVE Published:
- 11 March 2025
- Fixed in
- Fixed in:
- 3.8.0
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Keras. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.3).
What is CVE-2025-1550?
The Keras library's Model.load_model function is susceptible to an arbitrary code execution vulnerability. This issue arises when a malicious actor crafts a specific .keras archive that alters the config.json file within it. By doing so, they can instruct the model to load and execute arbitrary Python modules and functions, along with specified arguments, even when the safe_mode is enabled. This can potentially compromise the integrity of applications utilizing Keras, making it crucial for users to ensure they are using patched versions of the framework to mitigate this risk.
References
More Google Vulnerabilities
Improper Input Validation in Google Chrome Affects Multiple Versions
Use After Free Vulnerability in Google Chrome on Android
Use After Free Vulnerability in Google Chrome for Android
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction